OSDN Git Service

Code review for GUC revert-values-if-removed-from-postgresql.conf patch;
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Sep 2007 00:57:22 +0000 (00:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Sep 2007 00:57:22 +0000 (00:57 +0000)
commit40fda15dcebdd07ee75ac1f55dad145f91297b99
tree6cd1af9a9e865d6b25c4a20e4f5ee02d7f40a0e3
parent43df609daa0dbc941338564d0d77cfd852ab8385
Code review for GUC revert-values-if-removed-from-postgresql.conf patch;
and in passing, fix some bogosities dating from the custom_variable_classes
patch.  Fix guc-file.l to correctly check changes in custom_variable_classes
that are attempted concurrently with additions/removals of custom variables,
and don't allow the new setting to be applied in advance of checking it.
Clean up messy and undocumented situation for string variables with NULL
boot_val.  Fix DefineCustomVariable functions to initialize boot_val
correctly.  Prevent find_option from inserting bogus placeholders for custom
variables that are simply inquired about rather than being set.
src/backend/utils/cache/ts_cache.c
src/backend/utils/misc/README
src/backend/utils/misc/guc-file.l
src/backend/utils/misc/guc.c
src/include/utils/guc_tables.h