postgresql/contrib/btree_gist
Peter Eisentraut 611806cd72 Add trailing commas to enum definitions
Since C99, there can be a trailing comma after the last value in an
enum definition.  A lot of new code has been introducing this style on
the fly.  Some new patches are now taking an inconsistent approach to
this.  Some add the last comma on the fly if they add a new last
value, some are trying to preserve the existing style in each place,
some are even dropping the last comma if there was one.  We could
nudge this all in a consistent direction if we just add the trailing
commas everywhere once.

I omitted a few places where there was a fixed "last" value that will
always stay last.  I also skipped the header files of libpq and ecpg,
in case people want to use those with older compilers.  There were
also a small number of cases where the enum type wasn't used anywhere
(but the enum values were), which ended up confusing pgindent a bit,
so I left those alone.

Discussion: https://www.postgresql.org/message-id/flat/386f8c45-c8ac-4681-8add-e3b0852c1620%40eisentraut.org
2023-10-26 09:20:54 +02:00
..
data
expected Allow some exclusion constraints on partitions 2023-07-12 09:25:17 +02:00
sql Allow some exclusion constraints on partitions 2023-07-12 09:25:17 +02:00
.gitignore
btree_bit.c Remove useless casts to (void *) in arguments of some system functions 2023-02-07 06:57:59 +01:00
btree_bool.c Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
btree_bytea.c
btree_cash.c Use C library functions instead of Abs() for int64 2022-10-10 09:01:17 +02:00
btree_date.c Remove unnecessary uses of Abs() 2022-10-07 13:29:33 +02:00
btree_enum.c
btree_float4.c Use fabsf() instead of Abs() or fabs() where appropriate 2022-10-08 13:43:26 +02:00
btree_float8.c Remove unnecessary uses of Abs() 2022-10-07 13:29:33 +02:00
btree_gist--1.0--1.1.sql
btree_gist--1.1--1.2.sql
btree_gist--1.2--1.3.sql
btree_gist--1.2.sql
btree_gist--1.3--1.4.sql
btree_gist--1.4--1.5.sql
btree_gist--1.5--1.6.sql
btree_gist--1.6--1.7.sql
btree_gist.c Standardize error reports in unimplemented I/O functions. 2022-12-10 18:26:43 -05:00
btree_gist.control
btree_gist.h Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
btree_inet.c Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
btree_int2.c Remove unnecessary uses of Abs() 2022-10-07 13:29:33 +02:00
btree_int4.c Remove unnecessary uses of Abs() 2022-10-07 13:29:33 +02:00
btree_int8.c Use C library functions instead of Abs() for int64 2022-10-10 09:01:17 +02:00
btree_interval.c Remove useless casts to (void *) in arguments of some system functions 2023-02-07 06:57:59 +01:00
btree_macaddr8.c Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
btree_macaddr.c Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
btree_numeric.c
btree_oid.c
btree_text.c
btree_time.c Remove unnecessary uses of Abs() 2022-10-07 13:29:33 +02:00
btree_ts.c Remove unnecessary uses of Abs() 2022-10-07 13:29:33 +02:00
btree_utils_num.c Remove useless casts to (void *) in arguments of some system functions 2023-02-07 06:57:59 +01:00
btree_utils_num.h Remove unnecessary uses of Abs() 2022-10-07 13:29:33 +02:00
btree_utils_var.c Remove useless casts to (void *) in arguments of some system functions 2023-02-07 06:57:59 +01:00
btree_utils_var.h
btree_uuid.c Remove useless casts to (void *) in arguments of some system functions 2023-02-07 06:57:59 +01:00
Makefile Allow some exclusion constraints on partitions 2023-07-12 09:25:17 +02:00
meson.build Allow some exclusion constraints on partitions 2023-07-12 09:25:17 +02:00