summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2008-06-04 12:27:30 +0000
committerMichael Meskes <meskes@postgresql.org>2008-06-04 12:27:30 +0000
commit52e3b0e90e073adb25effbafbb0cc99c2ca52413 (patch)
treed2864b456238972b6b618825a497306686ae9474
parentc1e9481c4fb2d525707b743bb94856d1ad7855ee (diff)
downloadpostgresql-52e3b0e90e073adb25effbafbb0cc99c2ca52413.tar.gz
Added SQL to list of allowed variable names.
-rw-r--r--src/interfaces/ecpg/preproc/preproc.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y
index a49029a27a..c063d01b11 100644
--- a/src/interfaces/ecpg/preproc/preproc.y
+++ b/src/interfaces/ecpg/preproc/preproc.y
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.339.2.3 2008/02/14 14:57:29 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.339.2.4 2008/06/04 12:27:30 meskes Exp $ */
/* Copyright comment */
%{
@@ -6078,6 +6078,7 @@ ECPGKeywords_vanames: SQL_BREAK { $$ = make_str("break"); }
| SQL_RETURNED_OCTET_LENGTH { $$ = make_str("returned_octet_length"); }
| SQL_SCALE { $$ = make_str("scale"); }
| SQL_SECTION { $$ = make_str("section"); }
+ | SQL_SQL { $$ = make_str("sql"); }
| SQL_SQLERROR { $$ = make_str("sqlerror"); }
| SQL_SQLPRINT { $$ = make_str("sqlprint"); }
| SQL_SQLWARNING { $$ = make_str("sqlwarning"); }