From 3c3137efc9ea8a5302630dd22dd4a8d5186284fe Mon Sep 17 00:00:00 2001 From: Dave Cramer Date: Tue, 9 Jul 2019 14:03:14 -0400 Subject: [PATCH] make lc_monetary, lc_numeric and search_path GUC_REPORT so that we get these in the startup messages and whenever someone changes them. --- src/backend/utils/misc/guc.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index fc463601ff..01a86d0bd8 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -3739,7 +3739,8 @@ static struct config_string ConfigureNamesString[] = { {"lc_monetary", PGC_USERSET, CLIENT_CONN_LOCALE, gettext_noop("Sets the locale for formatting monetary amounts."), - NULL + NULL, + GUC_REPORT }, &locale_monetary, "C", @@ -3749,7 +3750,8 @@ static struct config_string ConfigureNamesString[] = { {"lc_numeric", PGC_USERSET, CLIENT_CONN_LOCALE, gettext_noop("Sets the locale for formatting numbers."), - NULL + NULL, + GUC_REPORT }, &locale_numeric, "C", @@ -3803,7 +3805,7 @@ static struct config_string ConfigureNamesString[] = {"search_path", PGC_USERSET, CLIENT_CONN_STATEMENT, gettext_noop("Sets the schema search order for names that are not schema-qualified."), NULL, - GUC_LIST_INPUT | GUC_LIST_QUOTE | GUC_EXPLAIN + GUC_LIST_INPUT | GUC_REPORT | GUC_LIST_QUOTE | GUC_EXPLAIN }, &namespace_search_path, "\"$user\", public", -- 2.20.1 (Apple Git-117)