From: Michael Meskes Date: Fri, 21 May 2004 13:50:59 +0000 (+0000) Subject: Fixed DEALLOCATE PREPARE to use correct function call X-Git-Tag: REL7_4_3~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=962c362495a832780fc951cf44a76356f95f09e1;p=thirdparty%2Fpostgresql.git Fixed DEALLOCATE PREPARE to use correct function call --- diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index afa0aaed470..561f3b6a59c 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.263.2.13 2004/05/10 13:46:39 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.263.2.14 2004/05/21 13:50:59 meskes Exp $ */ /* Copyright comment */ %{ @@ -712,7 +712,7 @@ stmt: AlterDatabaseSetStmt { output_statement($1, 0, connection); } { if (connection) mmerror(PARSE_ERROR, ET_ERROR, "no at option for deallocate statement.\n"); - fprintf(yyout, "{ ECPGdeallocate(__LINE__, \"%s\");", $1); + fprintf(yyout, "{ ECPGdeallocate(__LINE__, %d, %s);", compat, $1); whenever_action(2); free($1); }