mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Add infrastructure to save and restore GUC values.
This is further infrastructure for parallelism. Amit Khandekar, Noah Misch, Robert Haas
This commit is contained in:
@ -814,11 +814,11 @@ execute_extension_script(Oid extensionOid, ExtensionControlFile *control,
|
||||
if (client_min_messages < WARNING)
|
||||
(void) set_config_option("client_min_messages", "warning",
|
||||
PGC_USERSET, PGC_S_SESSION,
|
||||
GUC_ACTION_SAVE, true, 0);
|
||||
GUC_ACTION_SAVE, true, 0, false);
|
||||
if (log_min_messages < WARNING)
|
||||
(void) set_config_option("log_min_messages", "warning",
|
||||
PGC_SUSET, PGC_S_SESSION,
|
||||
GUC_ACTION_SAVE, true, 0);
|
||||
GUC_ACTION_SAVE, true, 0, false);
|
||||
|
||||
/*
|
||||
* Set up the search path to contain the target schema, then the schemas
|
||||
@ -843,7 +843,7 @@ execute_extension_script(Oid extensionOid, ExtensionControlFile *control,
|
||||
|
||||
(void) set_config_option("search_path", pathbuf.data,
|
||||
PGC_USERSET, PGC_S_SESSION,
|
||||
GUC_ACTION_SAVE, true, 0);
|
||||
GUC_ACTION_SAVE, true, 0, false);
|
||||
|
||||
/*
|
||||
* Set creating_extension and related variables so that
|
||||
|
Reference in New Issue
Block a user