summaryrefslogtreecommitdiff
path: root/src/include/commands
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-04-22 02:58:21 +0000
committerBruce Momjian <bruce@momjian.us>2004-04-22 02:58:21 +0000
commit914042fe5f7901d0b1ce1a0fceb743deaf5f91dc (patch)
treeec5d5819c23ece366e61c19d420867b12648f734 /src/include/commands
parentec7c4c1b66d1ed9eba5ec22fdb7fe4618ece4d25 (diff)
downloadpostgresql-914042fe5f7901d0b1ce1a0fceb743deaf5f91dc.tar.gz
This patch makes the EXECUTE command's completion tag return the
completion tag of the actual statement executed. This allows the correct update count to be returned for UPDATE/INSERT/DELETE statements. Kris Jurka
Diffstat (limited to 'src/include/commands')
-rw-r--r--src/include/commands/prepare.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/commands/prepare.h b/src/include/commands/prepare.h
index 90e17b7378..cb2fed06f0 100644
--- a/src/include/commands/prepare.h
+++ b/src/include/commands/prepare.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 2002-2003, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/include/commands/prepare.h,v 1.9 2003/11/29 22:40:59 pgsql Exp $
+ * $PostgreSQL: pgsql/src/include/commands/prepare.h,v 1.10 2004/04/22 02:58:21 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -42,7 +42,8 @@ typedef struct
/* Utility statements PREPARE, EXECUTE, DEALLOCATE, EXPLAIN EXECUTE */
extern void PrepareQuery(PrepareStmt *stmt);
-extern void ExecuteQuery(ExecuteStmt *stmt, DestReceiver *dest);
+extern void ExecuteQuery(ExecuteStmt *stmt, DestReceiver *dest,
+ char *completionTag);
extern void DeallocateQuery(DeallocateStmt *stmt);
extern void ExplainExecuteQuery(ExplainStmt *stmt, TupOutputState *tstate);