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

Commitc8db55f

Browse files
committed
Use ColId instead of Ident for SET SESSION AUTHORIZATION.
1 parent766a44f commitc8db55f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/backend/parser/gram.y

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.224 2001/05/08 21:06:42 petere Exp $
14+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.225 2001/05/09 16:50:44 petere Exp $
1515
*
1616
* HISTORY
1717
* AUTHORDATEMAJOR EVENT
@@ -259,7 +259,7 @@ static void doNegateFloat(Value *v);
259259

260260
%type<ival>Iconst
261261
%type<str>Sconst,comment_text
262-
%type<str>UserId,opt_boolean,var_value,zone_value,Ident_or_Sconst
262+
%type<str>UserId,opt_boolean,var_value,zone_value,ColId_or_Sconst
263263
%type<str>ColId,ColLabel,TokenId
264264

265265
%type<node>TableConstraint
@@ -761,7 +761,7 @@ VariableSetStmt: SET ColId TO var_value
761761
n->value =$3;
762762
$$ = (Node *) n;
763763
}
764-
|SETSESSIONAUTHORIZATIONIdent_or_Sconst
764+
|SETSESSIONAUTHORIZATIONColId_or_Sconst
765765
{
766766
VariableSetStmt *n = makeNode(VariableSetStmt);
767767
n->name ="session_authorization";
@@ -844,7 +844,7 @@ opt_encoding: Sconst{ $$ = $1; }
844844
|/*EMPTY*/{$$ =NULL; }
845845
;
846846

847-
Ident_or_Sconst:IDENT{$$ =$1; }
847+
ColId_or_Sconst:ColId{$$ =$1; }
848848
|SCONST{$$ =$1; }
849849

850850

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp