From c8e0d68aa50eba20f5ebdc00266db79ec370e6c7 Mon Sep 17 00:00:00 2001 From: Michael Meskes Date: Wed, 4 Jun 2008 12:23:34 +0000 Subject: [PATCH] Added lost sysmbol SQL_SQL to list of allowed variable names. --- src/interfaces/ecpg/ChangeLog | 4 ++++ src/interfaces/ecpg/preproc/preproc.y | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/interfaces/ecpg/ChangeLog b/src/interfaces/ecpg/ChangeLog index 1b3d619017..78c47d31a6 100644 --- a/src/interfaces/ecpg/ChangeLog +++ b/src/interfaces/ecpg/ChangeLog @@ -2358,6 +2358,10 @@ Tue, 20 May 2008 17:31:01 +0200 - Made ecpg parser use backend provided keyword list. One less file to sync manually. - Changed whenever test so exit value is 0. + +Wed, 04 Jun 2008 14:22:30 +0200 + + - Added lost symbol SQL to list of allowed variable names. - Set pgtypes library version to 3.1. - Set compat library version to 3.1. - Set ecpg library version to 6.2. diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index 3d39b74580..661a36ea67 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.366 2008/05/20 23:17:32 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.367 2008/06/04 12:23:34 meskes Exp $ */ /* Copyright comment */ %{ @@ -6316,6 +6316,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"); } -- 2.40.0