aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2011-12-18 15:34:33 +0100
committerMichael Meskes <meskes@postgresql.org>2011-12-18 15:34:33 +0100
commit4b8b5e53eb6105924266bb32709042f710043b4e (patch)
tree6d9a82ce1183a87bb81d7ff79d1a86589b9947fe /src
parent153c8dbd8ca3f6736dd220edda7d4392f5381a33 (diff)
downloadpostgresql-4b8b5e53eb6105924266bb32709042f710043b4e.tar.gz
postgresql-4b8b5e53eb6105924266bb32709042f710043b4e.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/preproc/ecpg.addons5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.addons b/src/interfaces/ecpg/preproc/ecpg.addons
index 23421df56d7..849a37cf9d5 100644
--- 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);