git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 153c8db)
In ecpg removed old leftover check for given connection name.
2011年12月18日 14:34:33 +0000 (15:34 +0100)
2011年12月18日 14:34:33 +0000 (15:34 +0100)
Ever since we introduced real prepared statements this should work for
different connections. The old solution just emulating prepared statements,
though, wasn't able to handle this.

Closes: #6309

diff --git a/src/interfaces/ecpg/preproc/ecpg.addons b/src/interfaces/ecpg/preproc/ecpg.addons
index 23421df56d71c30a5c9ca8885e816ce5b052cf0e..849a37cf9d5311efc0ac899b0a4924a100813644 100644 (file)
--- a/src/interfaces/ecpg/preproc/ecpg.addons
+++ b/src/interfaces/ecpg/preproc/ecpg.addons
@@ -19,9 +19,6 @@ ECPG: stmtClosePortalStmt block
}
ECPG: stmtDeallocateStmt block
{
- if (connection)
- mmerror(PARSE_ERROR, ET_ERROR, "AT option not allowed in DEALLOCATE statement");
-
output_deallocate_prepare_statement(1ドル);
}
ECPG: stmtDeclareCursorStmt block
@@ -72,8 +69,6 @@ ECPG: stmtViewStmt rule
}
| ECPGDeallocateDescr
{
- if (connection)
- mmerror(PARSE_ERROR, ET_ERROR, "AT option not allowed in DEALLOCATE statement");
fprintf(yyout,"ECPGdeallocate_desc(__LINE__, %s);",1ドル);
whenever_action(0);
free(1ドル);
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /