Change config_generic.vartype to be initialized at compile time
authorPeter Eisentraut <[email protected]>
Fri, 17 Oct 2025 08:33:54 +0000 (10:33 +0200)
committerPeter Eisentraut <[email protected]>
Fri, 17 Oct 2025 08:33:54 +0000 (10:33 +0200)
commite1a912c86d5205371b043772aa89908f2452cbf0
tree058afd83f6dabee67368802818a4b459046b171c
parent0a7bde46101697ece7549df29078ff9417347438
Change config_generic.vartype to be initialized at compile time

Previously, this was initialized at run time so that it did not have
to be maintained by hand in guc_tables.c.  But since that table is now
generated anyway, we might as well generate this bit as well.

Reviewed-by: Chao Li <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/8fdfb91e-60fb-44fa-8df6-f5dea47353c9@eisentraut.org
src/backend/utils/misc/gen_guc_tables.pl
src/backend/utils/misc/guc.c
src/include/utils/guc_tables.h