summaryrefslogtreecommitdiff
path: root/src/include/postgres.h
diff options
context:
space:
mode:
authorTom Lane2000-07-31 22:39:17 +0000
committerTom Lane2000-07-31 22:39:17 +0000
commitec307a9bac376b05c70e80b0cc418364a6088e9f (patch)
treeb17e490712c2619648e06eec6a50bac831841bcb /src/include/postgres.h
parent5f54025e2552c9602049c23ca036991fbfadc3aa (diff)
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/postgres.h b/src/include/postgres.h
index 0902b47d28..74451b4198 100644
--- a/src/include/postgres.h
+++ b/src/include/postgres.h
@@ -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
* ----------------------------------------------------------------