diff options
author | Michael Meskes <meskes@postgresql.org> | 2011-12-18 15:34:33 +0100 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2011-12-18 18:46:23 +0100 |
commit | 972e27b2e244378bbdcba5486fdcfc30274376ea (patch) | |
tree | 5139366d80429be120ef106d1b9c8595527477f8 | |
parent | e4790949e46d99530ceb0d685d0b8c0d9e221003 (diff) |
In ecpg removed old leftover check for given connection name.
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
-rw-r--r-- | src/interfaces/ecpg/preproc/ecpg.addons | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.addons b/src/interfaces/ecpg/preproc/ecpg.addons index 757200c410c..8dd1e6e1c24 100644 --- a/src/interfaces/ecpg/preproc/ecpg.addons +++ b/src/interfaces/ecpg/preproc/ecpg.addons @@ -20,9 +20,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); |