summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>1997-04-05 06:25:59 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>1997-04-05 06:25:59 +0000
commit803a2b13f209fc1346656b892bd35b5fb27db8e5 (patch)
tree80a666533f1bc6661e54405fbb8e70d51d7745e0 /src
parentbd511f268a5c503e7f4fb10c9f6d7371eb93ad20 (diff)
Fix for 'SET var_name TO var_value': var_name already defined.
Diffstat (limited to 'src')
-rw-r--r--src/backend/parser/gram.y7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y
index 402f3343ae4..be874b20cd2 100644
--- a/src/backend/parser/gram.y
+++ b/src/backend/parser/gram.y
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.29 1997/04/02 18:23:07 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.30 1997/04/05 06:25:59 vadim Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@@ -112,7 +112,7 @@ static Node *makeA_Expr(int oper, char *opname, Node *lexpr, Node *rexpr);
%type <str> relation_name, copy_file_name, copy_delimiter, def_name,
database_name, access_method_clause, access_method, attr_name,
- class, index_name, var_name, name, file_name, recipe_name,
+ class, index_name, name, file_name, recipe_name,
var_name
%type <str> opt_id, opt_portal_name,
@@ -294,9 +294,6 @@ VariableSetStmt: SET var_name TO var_value
}
;
-var_name: Id { $$ = $1; }
- ;
-
var_value: Sconst { $$ = $1; }
;