Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit151a123

Browse files
committed
This is the second of two patches required to fix the the grant and
revoke statements.From: James Hughes <jamesh@interpath.com>
1 parentaf32f4d commit151a123

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

‎src/backend/parser/gram.y

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.96 1998/01/22 23:04:52 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.97 1998/01/2504:08:54 scrappy Exp $
1414
*
1515
* HISTORY
1616
* AUTHORDATEMAJOR EVENT
@@ -1400,8 +1400,6 @@ opt_portal_name: IN name{ $$ = $2; }
14001400
GrantStmt: GRANT privileges ON relation_name_list TO grantee opt_with_grant
14011401
{
14021402
$$ = (Node*)makeAclStmt($2,$4,$6,'+');
1403-
free($2);
1404-
free($6);
14051403
}
14061404
;
14071405

@@ -1426,7 +1424,6 @@ operation_commalist: operation
14261424
| operation_commalist ',' operation
14271425
{
14281426
$$ = aclmakepriv($1,$3);
1429-
free($1);
14301427
}
14311428
;
14321429

@@ -1484,8 +1481,6 @@ opt_with_grant: WITH GRANT OPTION
14841481
RevokeStmt: REVOKE privileges ON relation_name_list FROM grantee
14851482
{
14861483
$$ = (Node*)makeAclStmt($2,$4,$6,'-');
1487-
free($2);
1488-
free($6);
14891484
}
14901485
;
14911486

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp