Use C99-designated initializer syntax for more arrays
authorMichael Paquier <michael@paquier.xyz>
Tue, 27 Feb 2024 23:42:36 +0000 (08:42 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 27 Feb 2024 23:42:36 +0000 (08:42 +0900)
commitafd8ef39094b0dff9d1f2bfecb1d9fa056b85e19
treeae38116a8d4667940cd9e8bc3fa8c9c08488ead0
parente1724af42c7b0bddad2785f8f7a15c4c123862b2
Use C99-designated initializer syntax for more arrays

This is in the same spirit as ef5e2e90859a, updating this time some
arrays in parser.c, relpath.c, guc_tables.c and pg_dump_sort.c so as the
order of their elements has no need to match the enum structures they
are based on anymore.

Author: Jelte Fennema-Nio
Reviewed-by: Jian He, Japin Li
Discussion: https://postgr.es/m/CAGECzQT3caUbcCcszNewCCmMbCuyP7XNAm60J3ybd6PN5kH2Dw@mail.gmail.com
src/backend/parser/parser.c
src/backend/utils/misc/guc_tables.c
src/bin/pg_dump/pg_dump_sort.c
src/common/relpath.c