aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/pgstatfuncs.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2015-05-08 19:09:26 -0400
committerStephen Frost <sfrost@snowman.net>2015-05-08 19:09:26 -0400
commita97e0c3354ace5d74c6873cd5e98444757590be8 (patch)
tree769046f2783f3725a47466b893e9fd1d07bd9466 /src/backend/utils/adt/pgstatfuncs.c
parentbab64ef9e8bc56fa5db9bd41cefb54c3d8051dbe (diff)
downloadpostgresql-a97e0c3354ace5d74c6873cd5e98444757590be8.tar.gz
postgresql-a97e0c3354ace5d74c6873cd5e98444757590be8.zip
Add pg_file_settings view and function
The function and view added here provide a way to look at all settings in postgresql.conf, any #include'd files, and postgresql.auto.conf (which is what backs the ALTER SYSTEM command). The information returned includes the configuration file name, line number in that file, sequence number indicating when the parameter is loaded (useful to see if it is later masked by another definition of the same parameter), parameter name, and what it is set to at that point. This information is updated on reload of the server. This is unfiltered, privileged, information and therefore access is restricted to superusers through the GRANT system. Author: Sawada Masahiko, various improvements by me. Reviewers: David Steele
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions