aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/lib/execute.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2001-08-19 09:21:45 +0000
committerMichael Meskes <meskes@postgresql.org>2001-08-19 09:21:45 +0000
commitdb07a3f47febb1e4e268169c7aff43896b31e576 (patch)
tree081b2661cc43040b8247ead75229cf002aa9c769 /src/interfaces/ecpg/lib/execute.c
parent0c439e5ef6efbb13313718493d00be7a3f66acd3 (diff)
downloadpostgresql-db07a3f47febb1e4e268169c7aff43896b31e576.tar.gz
postgresql-db07a3f47febb1e4e268169c7aff43896b31e576.zip
- Synced preproc.y with gram.y.
- Include some patches by Christof Petig <christof.petig@wtal.de>.
Diffstat (limited to 'src/interfaces/ecpg/lib/execute.c')
-rw-r--r--src/interfaces/ecpg/lib/execute.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/lib/execute.c b/src/interfaces/ecpg/lib/execute.c
index a947e957a86..c9b66bb36f0 100644
--- a/src/interfaces/ecpg/lib/execute.c
+++ b/src/interfaces/ecpg/lib/execute.c
@@ -812,6 +812,9 @@ ECPGexecute(struct statement * stmt)
ECPGraise(stmt->lineno, ECPG_PGSQL, PQerrorMessage(stmt->connection->connection));
}
else
+ /* note: since some of the following code is duplicated in descriptor.c
+ * it should go into a separate function
+ */
{
var = stmt->outlist;
switch (PQresultStatus(results))
@@ -1032,7 +1035,7 @@ ECPGdo(int lineno, const char *connection_name, char *query,...)
*
* Copyright (c) 2000, Christof Petig <christof.petig@wtal.de>
*
- * $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/execute.c,v 1.20 2001/08/10 22:50:10 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/execute.c,v 1.21 2001/08/19 09:21:44 meskes Exp $
*/
PGconn *ECPG_internal_get_connection(char *name);