From: Michael Meskes Date: Thu, 14 Feb 2008 14:57:29 +0000 (+0000) Subject: EXECUTE can return NOT FOUND so it should be checked here too. X-Git-Tag: REL8_2_7~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8dc95540e6a9b5c8071c3df782998d3ca421946;p=postgresql EXECUTE can return NOT FOUND so it should be checked here too. --- diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index e49baed354..a49029a27a 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.2 2007/11/06 08:32:34 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.339.2.3 2008/02/14 14:57:29 meskes Exp $ */ /* Copyright comment */ %{ @@ -815,7 +815,7 @@ stmt: AlterDatabaseStmt { output_statement($1, 0, connection); } } | ECPGExecute { - output_statement($1, 0, connection); + output_statement($1, 1, connection); } | ECPGFree {