aboutsummaryrefslogtreecommitdiff
path: root/src/include/postgres.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-07-31 22:39:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-07-31 22:39:17 +0000
commit7d0c4188f1b2c5e6b158dac3acab6def10959cae (patch)
tree599c1c4d2231c2ad78cf3c9ec43472b78abff6a9 /src/include/postgres.h
parentb7319d371790c6103813ab1c6ac4646ba985c9d8 (diff)
downloadpostgresql-7d0c4188f1b2c5e6b158dac3acab6def10959cae.tar.gz
postgresql-7d0c4188f1b2c5e6b158dac3acab6def10959cae.zip
Make acl-related functions safe for TOAST. Mark pg_class.relacl as
compressible but not externally storable (since we're not sure about whether creating a toast relation for pg_class would work).
Diffstat (limited to 'src/include/postgres.h')
-rw-r--r--src/include/postgres.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/postgres.h b/src/include/postgres.h
index f11e28ed9f9..1011d04cbbd 100644
--- a/src/include/postgres.h
+++ b/src/include/postgres.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1995, Regents of the University of California
*
- * $Id: postgres.h,v 1.43 2000/07/03 23:09:56 wieck Exp $
+ * $Id: postgres.h,v 1.44 2000/07/31 22:39:03 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -46,8 +46,6 @@
* ----------------------------------------------------------------
*/
-typedef int4 aclitem;
-
#define InvalidOid ((Oid) 0)
#define OidIsValid(objectId) ((bool) ((objectId) != InvalidOid))
@@ -57,6 +55,8 @@ typedef Oid RegProcedure;
#define RegProcedureIsValid(p) OidIsValid(p)
+typedef int4 aclitem; /* PHONY definition for catalog use only */
+
/* ----------------------------------------------------------------
* Section 2: variable length and array types
* ----------------------------------------------------------------