summaryrefslogtreecommitdiff
path: root/src/include/catalog/pg_namespace.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-04-21 00:26:44 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-04-21 00:26:44 +0000
commitb0bcf8aab2da6710ff8842b86fed93571e143cc8 (patch)
tree922f5b76b34a555d1a30003f216dd5df1aa3663c /src/include/catalog/pg_namespace.h
parentad201b8d18b19d8c7a4a458e078bb555fcc2de74 (diff)
downloadpostgresql-b0bcf8aab2da6710ff8842b86fed93571e143cc8.tar.gz
Restructure AclItem representation so that we can have more than eight
different privilege bits (might as well make use of the space we were wasting on padding). EXECUTE and USAGE bits for procedures, languages now are separate privileges instead of being overlaid on SELECT. Add privileges for namespaces and databases. The GRANT and REVOKE commands work for these object types, but we don't actually enforce the privileges yet...
Diffstat (limited to 'src/include/catalog/pg_namespace.h')
-rw-r--r--src/include/catalog/pg_namespace.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/catalog/pg_namespace.h b/src/include/catalog/pg_namespace.h
index d058206dae..3b7f7d57b6 100644
--- a/src/include/catalog/pg_namespace.h
+++ b/src/include/catalog/pg_namespace.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_namespace.h,v 1.4 2002/04/01 03:34:27 tgl Exp $
+ * $Id: pg_namespace.h,v 1.5 2002/04/21 00:26:43 tgl Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
@@ -66,13 +66,13 @@ typedef FormData_pg_namespace *Form_pg_namespace;
* ---------------
*/
-DATA(insert OID = 11 ( "pg_catalog" PGUID "{=r}" ));
+DATA(insert OID = 11 ( "pg_catalog" PGUID "{=U}" ));
DESCR("System catalog namespace");
#define PG_CATALOG_NAMESPACE 11
DATA(insert OID = 99 ( "pg_toast" PGUID "{=}" ));
DESCR("Reserved namespace for TOAST tables");
#define PG_TOAST_NAMESPACE 99
-DATA(insert OID = 2071 ( "public" PGUID "{=rw}" ));
+DATA(insert OID = 2071 ( "public" PGUID "{=UC}" ));
DESCR("Standard public namespace");
#define PG_PUBLIC_NAMESPACE 2071