mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +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:
@ -2104,15 +2104,15 @@ set_transmission_modes(void)
|
||||
if (DateStyle != USE_ISO_DATES)
|
||||
(void) set_config_option("datestyle", "ISO",
|
||||
PGC_USERSET, PGC_S_SESSION,
|
||||
GUC_ACTION_SAVE, true, 0);
|
||||
GUC_ACTION_SAVE, true, 0, false);
|
||||
if (IntervalStyle != INTSTYLE_POSTGRES)
|
||||
(void) set_config_option("intervalstyle", "postgres",
|
||||
PGC_USERSET, PGC_S_SESSION,
|
||||
GUC_ACTION_SAVE, true, 0);
|
||||
GUC_ACTION_SAVE, true, 0, false);
|
||||
if (extra_float_digits < 3)
|
||||
(void) set_config_option("extra_float_digits", "3",
|
||||
PGC_USERSET, PGC_S_SESSION,
|
||||
GUC_ACTION_SAVE, true, 0);
|
||||
GUC_ACTION_SAVE, true, 0, false);
|
||||
|
||||
return nestlevel;
|
||||
}
|
||||
|
Reference in New Issue
Block a user