postgres.git / summary / log / commit / refs
commit 962c362495a832780fc951cf44a76356f95f09e1
Author: Michael Meskes <meskes@postgresql.org>
Date: Fri May 21 13:50:59 2004 +0000
First released in: 7.4.3
Fixed DEALLOCATE PREPARE to use correct function call
src/interfaces/ecpg/preproc/preproc.y | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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);
}
[parent: 10a8cc5cc5c2]