postgresql/src/backend
Alvaro Herrera a61f5ab986 Simplify index_[constraint_]create API
Instead of passing large swaths of boolean arguments, define some flags
that can be used in a bitmask.  This makes it easier not only to figure
out what each call site is doing, but also to add some new flags.

The flags are split in two -- one set for index_create directly and
another for constraints.  index_create() itself receives both, and then
passes down the latter to index_constraint_create(), which can also be
called standalone.

Discussion: https://postgr.es/m/20171023151251.j75uoe27gajdjmlm@alvherre.pgsql
Reviewed-by: Simon Riggs
2017-11-14 15:19:05 +01:00
..
access Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
bootstrap Exclude flex-generated code from coverage testing 2017-10-16 16:28:11 -04:00
catalog Simplify index_[constraint_]create API 2017-11-14 15:19:05 +01:00
commands Simplify index_[constraint_]create API 2017-11-14 15:19:05 +01:00
executor Track in the plan the types associated with PARAM_EXEC parameters. 2017-11-13 15:24:12 -05:00
foreign Change TRUE/FALSE to true/false 2017-11-08 11:37:28 -05:00
lib Allow to avoid NUL-byte management for stringinfos and use in format.c. 2017-10-11 16:01:52 -07:00
libpq Fix typo 2017-11-13 09:40:30 -05:00
main Install Windows crash dump handler before all else. 2017-11-12 14:31:00 -08:00
nodes Track in the plan the types associated with PARAM_EXEC parameters. 2017-11-13 15:24:12 -05:00
optimizer Push target list evaluation through Gather Merge. 2017-11-13 16:37:42 -05:00
parser Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
po Translation updates 2017-08-07 13:55:34 -04:00
port Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
postmaster Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
regex Mop-up for commit 85feb77aa0. 2017-09-22 11:35:12 -04:00
replication Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
rewrite Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
snowball Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
statistics Infer functional dependency past RelabelType 2017-10-12 17:23:47 +02:00
storage Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
tcop Change TRUE/FALSE to true/false 2017-11-08 11:37:28 -05:00
tsearch Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
utils Don't call pgwin32_message_to_UTF16() without CurrentMemoryContext. 2017-11-12 13:03:15 -08:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Add ICU_CFLAGS to global CPPFLAGS 2017-06-12 15:57:22 -04:00
Makefile Inject $(ICU_LIBS) regardless of platform. 2017-08-20 21:22:18 -07:00
nls.mk Translation updates 2017-05-15 12:19:54 -04:00