aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/guc.h
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2018-06-08 16:18:40 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2018-06-08 16:19:05 -0400
commit0c8910a0cab7c1e439bf5f5850122c36359e6799 (patch)
tree04c5cbd17eac991382c5a16830bf6d5258deda73 /src/include/utils/guc.h
parentacad8b409add4bde37e3882c1680a7bd26289f03 (diff)
downloadpostgresql-0c8910a0cab7c1e439bf5f5850122c36359e6799.tar.gz
postgresql-0c8910a0cab7c1e439bf5f5850122c36359e6799.zip
Teach SHOW ALL to honor pg_read_all_settings membership
Also, fix the pg_settings view to display source filename and line number when invoked by a pg_read_all_settings member. This addition by me (Álvaro). Also, fix wording of the comment in GetConfigOption regarding the restriction it implements, renaming the parameter for extra clarity. Noted by Michaël. These were all oversight in commit 25fff40798fc; backpatch to pg10, where that commit first appeared. Author: Laurenz Albe Reviewed-by: Michaël Paquier, Álvaro Herrera Discussion: https://postgr.es/m/1519917758.6586.8.camel@cybertec.at
Diffstat (limited to 'src/include/utils/guc.h')
-rw-r--r--src/include/utils/guc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h
index 3d13a33b94e..f462eabe594 100644
--- a/src/include/utils/guc.h
+++ b/src/include/utils/guc.h
@@ -347,7 +347,7 @@ extern void DefineCustomEnumVariable(
extern void EmitWarningsOnPlaceholders(const char *className);
extern const char *GetConfigOption(const char *name, bool missing_ok,
- bool restrict_superuser);
+ bool restrict_privileged);
extern const char *GetConfigOptionResetString(const char *name);
extern int GetConfigOptionFlags(const char *name, bool missing_ok);
extern void ProcessConfigFile(GucContext context);