]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add a GUC_SUPERUSER_ONLY flag to mark GUC variables that should not be
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Oct 2004 19:48:19 +0000 (19:48 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Oct 2004 19:48:19 +0000 (19:48 +0000)
commit9e83d73b6cf1e4280d438fb172b8b9c9233a656b
tree087c7a79aa92e9bbb0986fe4c58aca617756e28b
parent9309d5f2ba00f3d918bc2f7998440be89fbde85b
Add a GUC_SUPERUSER_ONLY flag to mark GUC variables that should not be
examinable by non-superusers, and use it to protect the recently-added
GUC variables for data directory and config files.  For now I have only
flagged those variables that could be used to deduce something about
the server's filesystem layout, but possibly we should also mark vars
related to logging settings and other admin-only information?
src/backend/utils/misc/guc.c
src/include/utils/guc.h
src/include/utils/guc_tables.h