mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
Fix SHOW and RESET grammar to accept custom variable names.
This commit is contained in:
parent
5d14b0d08c
commit
83ba41f02b
@ -11,7 +11,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.508 2005/08/23 22:40:20 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.509 2005/08/24 19:34:12 tgl Exp $
|
||||
*
|
||||
* HISTORY
|
||||
* AUTHOR DATE MAJOR EVENT
|
||||
@ -1164,7 +1164,7 @@ ColId_or_Sconst:
|
||||
|
||||
|
||||
VariableShowStmt:
|
||||
SHOW ColId
|
||||
SHOW var_name
|
||||
{
|
||||
VariableShowStmt *n = makeNode(VariableShowStmt);
|
||||
n->name = $2;
|
||||
@ -1197,7 +1197,7 @@ VariableShowStmt:
|
||||
;
|
||||
|
||||
VariableResetStmt:
|
||||
RESET ColId
|
||||
RESET var_name
|
||||
{
|
||||
VariableResetStmt *n = makeNode(VariableResetStmt);
|
||||
n->name = $2;
|
||||
|
Loading…
Reference in New Issue
Block a user