aboutsummaryrefslogtreecommitdiff
path: root/src/backend/nodes/copyfuncs.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2003-01-23 23:39:07 +0000
committerPeter Eisentraut <peter_e@gmx.net>2003-01-23 23:39:07 +0000
commitef7422510e93266e5aa9bb926d6747d5f2ae21f4 (patch)
tree98643df576fccfcb2cc4c9e37fcf533f64f1a56c /src/backend/nodes/copyfuncs.c
parentaa78ca3a9591def436d6ce87cb37e7ad5f584308 (diff)
downloadpostgresql-ef7422510e93266e5aa9bb926d6747d5f2ae21f4.tar.gz
postgresql-ef7422510e93266e5aa9bb926d6747d5f2ae21f4.zip
Grant options, and cascading revoke. Grant options are allowed only for
users right now, not groups. Extension of has_foo_privileges functions to query the grant options. Extension of aclitem type to store grantor.
Diffstat (limited to 'src/backend/nodes/copyfuncs.c')
-rw-r--r--src/backend/nodes/copyfuncs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c
index f8e81431ec0..667e4f30c20 100644
--- a/src/backend/nodes/copyfuncs.c
+++ b/src/backend/nodes/copyfuncs.c
@@ -15,7 +15,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.237 2003/01/20 18:54:46 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.238 2003/01/23 23:38:56 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1563,6 +1563,8 @@ _copyGrantStmt(GrantStmt *from)
COPY_NODE_FIELD(objects);
COPY_INTLIST_FIELD(privileges);
COPY_NODE_FIELD(grantees);
+ COPY_SCALAR_FIELD(grant_option);
+ COPY_SCALAR_FIELD(behavior);
return newnode;
}