pgsql: Change config_generic.vartype to be initialized at compile time - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Change config_generic.vartype to be initialized at compile time
Date
Msg-id E1v9fyC-00278p-27@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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 <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/8fdfb91e-60fb-44fa-8df6-f5dea47353c9@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e1a912c86d5205371b043772aa89908f2452cbf0

Modified Files
--------------
src/backend/utils/misc/gen_guc_tables.pl |  1 +
src/backend/utils/misc/guc.c             | 28 +---------------------------
src/include/utils/guc_tables.h           |  2 +-
3 files changed, 3 insertions(+), 28 deletions(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: ecpg: check return value of replace_variables()
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: Avoid warnings in tests when openssl binary isn't available