mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Privileges on functions and procedural languages
This commit is contained in:
@@ -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
|
||||
* ----------------------
|
||||
|
||||
Reference in New Issue
Block a user