summaryrefslogtreecommitdiff
path: root/src/include/commands
diff options
context:
space:
mode:
authorBruce Momjian2006-04-25 14:09:21 +0000
committerBruce Momjian2006-04-25 14:09:21 +0000
commit6378fdd971eccc2ad4acd015b8e1baa27e0910a6 (patch)
treec89984eacac792568d6f3f811840c5d1c9795042 /src/include/commands
parent11fbdf2f25fef011e884c4b92157c7b0aed9e8b2 (diff)
Add RESET CONNECTION, to reset all aspects of a session.
Hans-J?rgen Sch?nig
Diffstat (limited to 'src/include/commands')
-rw-r--r--src/include/commands/async.h3
-rw-r--r--src/include/commands/prepare.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/include/commands/async.h b/src/include/commands/async.h
index cddf628a170..b6ccda39c1f 100644
--- a/src/include/commands/async.h
+++ b/src/include/commands/async.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/commands/async.h,v 1.31 2006/03/05 15:58:55 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/commands/async.h,v 1.32 2006/04/25 14:09:17 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -19,6 +19,7 @@ extern bool Trace_notify;
extern void Async_Notify(const char *relname);
extern void Async_Listen(const char *relname);
extern void Async_Unlisten(const char *relname);
+extern void Async_UnlistenAll(void);
/* perform (or cancel) outbound notify processing at transaction commit */
extern void AtCommit_Notify(void);
diff --git a/src/include/commands/prepare.h b/src/include/commands/prepare.h
index 362364e5f46..075d3b11520 100644
--- a/src/include/commands/prepare.h
+++ b/src/include/commands/prepare.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 2002-2006, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/include/commands/prepare.h,v 1.18 2006/03/05 15:58:55 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/commands/prepare.h,v 1.19 2006/04/25 14:09:18 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -62,6 +62,7 @@ extern void StorePreparedStatement(const char *stmt_name,
extern PreparedStatement *FetchPreparedStatement(const char *stmt_name,
bool throwError);
extern void DropPreparedStatement(const char *stmt_name, bool showError);
+extern void DropAllPreparedStatements(void);
extern List *FetchPreparedStatementParams(const char *stmt_name);
extern TupleDesc FetchPreparedStatementResultDesc(PreparedStatement *stmt);
extern bool PreparedStatementReturnsTuples(PreparedStatement *stmt);