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

Commit83ba41f

Browse files
committed
Fix SHOW and RESET grammar to accept custom variable names.
1 parent5d14b0d commit83ba41f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/parser/gram.y

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.508 2005/08/23 22:40:20 tgl Exp $
14+
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.509 2005/08/24 19:34:12 tgl Exp $
1515
*
1616
* HISTORY
1717
* AUTHORDATEMAJOR EVENT
@@ -1164,7 +1164,7 @@ ColId_or_Sconst:
11641164

11651165

11661166
VariableShowStmt:
1167-
SHOWColId
1167+
SHOWvar_name
11681168
{
11691169
VariableShowStmt *n = makeNode(VariableShowStmt);
11701170
n->name =$2;
@@ -1197,7 +1197,7 @@ VariableShowStmt:
11971197
;
11981198

11991199
VariableResetStmt:
1200-
RESETColId
1200+
RESETvar_name
12011201
{
12021202
VariableResetStmt *n = makeNode(VariableResetStmt);
12031203
n->name =$2;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp