summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPeter Eisentraut2002-04-11 05:32:03 +0000
committerPeter Eisentraut2002-04-11 05:32:03 +0000
commit25f050d90d818b88d57e24b4be42cff3244d3881 (patch)
treeec4e188d558e037bea846b0513b47d468b45814d /src/include
parenta62f43ae6e0e285aa7b0736cf7fc88254aa4a438 (diff)
Make sure that usesuper is always accessed through superuser(), so that the
single-user escape path always works.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/catalog/pg_shadow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/catalog/pg_shadow.h b/src/include/catalog/pg_shadow.h
index 2e8d5b771c5..fd372ae7bf4 100644
--- a/src/include/catalog/pg_shadow.h
+++ b/src/include/catalog/pg_shadow.h
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_shadow.h,v 1.18 2002/03/01 22:45:17 petere Exp $
+ * $Id: pg_shadow.h,v 1.19 2002/04/11 05:32:03 petere Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
@@ -35,7 +35,7 @@ CATALOG(pg_shadow) BOOTSTRAP BKI_WITHOUT_OIDS
int4 usesysid;
bool usecreatedb;
bool usetrace;
- bool usesuper;
+ bool usesuper; /* read this field via superuser() only */
bool usecatupd;
text passwd;
int4 valuntil;