-
-
Save krk/804b54d37278590eb3ad11fc3375e21c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GrantStmt: GRANT privileges ON privilege_target TO grantee_list | |
opt_grant_grant_option | |
{ | |
GrantStmt *n = makeNode(GrantStmt); | |
n->is_grant = true; | |
n->privileges = $2; | |
n->targtype = ($4)->targtype; | |
n->objtype = ($4)->objtype; | |
n->objects = ($4)->objs; | |
n->grantees = $6; | |
n->grant_option = $7; | |
$$ = (Node*)n; | |
} | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment