git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: aba8f61) | patch
Generate GUC tables from .dat file
Wed, 3 Sep 2025 07:11:48 +0000 (09:11 +0200)
Wed, 3 Sep 2025 07:45:17 +0000 (09:45 +0200)
commit 63599896545c7869f7dd28cd593e8b548983d613
Generate GUC tables from .dat file

Store the information in guc_tables.c in a .dat file similar to the
catalog data in src/include/catalog/, and generate a part of
guc_tables.c from that. The goal is to make it easier to edit that
information, and to be able to make changes to the downstream data
structures more easily. (Essentially, those are the same reasons as
for the original adoption of the .dat format.)

Reviewed-by: John Naylor <johncnaylorls@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: David E. Wheeler <david@justatheory.com>
Discussion: https://www.postgresql.org/message-id/flat/dae6fe89-1e0c-4c3f-8d92-19d23374fb10%40eisentraut.org
12 files changed:
src/backend/utils/.gitignore diff | blob | blame | history
src/backend/utils/Makefile diff | blob | blame | history
src/backend/utils/misc/gen_guc_tables.pl [new file with mode: 0644] blob
src/backend/utils/misc/guc_parameters.dat [new file with mode: 0644] blob
src/backend/utils/misc/guc_tables.c diff | blob | blame | history
src/bin/pg_dump/dumputils.c diff | blob | blame | history
src/include/libpq/libpq.h diff | blob | blame | history
src/include/utils/.gitignore diff | blob | blame | history
src/include/utils/guc.h diff | blob | blame | history
src/include/utils/inval.h diff | blob | blame | history
src/include/utils/meson.build diff | blob | blame | history
src/timezone/pgtz.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /