diff options
Diffstat (limited to 'src/include/nodes/parsenodes.h')
-rw-r--r-- | src/include/nodes/parsenodes.h | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 46ec13f34c0..252c509cc46 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: parsenodes.h,v 1.151 2001/11/05 17:46:34 momjian Exp $ + * $Id: parsenodes.h,v 1.152 2002/02/18 23:11:41 petere Exp $ * *------------------------------------------------------------------------- */ @@ -145,8 +145,9 @@ typedef struct GrantStmt { NodeTag type; bool is_grant; /* not revoke */ - List *relnames; - char *privileges; + int objtype; + List *objects; + List *privileges; List *grantees; } GrantStmt; @@ -159,6 +160,23 @@ typedef struct PrivGrantee } PrivGrantee; +typedef struct FuncWithArgs +{ + NodeTag type; + char *funcname; + List *funcargs; +} FuncWithArgs; + + +/* This is only used internally in gram.y. */ +typedef struct PrivTarget +{ + NodeTag type; + int objtype; + List *objs; +} PrivTarget; + + /* ---------------------- * Close Portal Statement * ---------------------- |