summaryrefslogtreecommitdiff
path: root/src/include/utils/plancache.h
diff options
context:
space:
mode:
authorJan Wieck <JanWieck@Yahoo.com>2007-06-05 20:00:41 +0000
committerJan Wieck <JanWieck@Yahoo.com>2007-06-05 20:00:41 +0000
commit1120b99445a90ceba27f49e5cf86293f0628d06a (patch)
tree59c3c2464aaa4baa017512463d4c46a0778f1bc6 /src/include/utils/plancache.h
parentf74426283d9a5d889c310e3844ef850622203d7e (diff)
downloadpostgresql-1120b99445a90ceba27f49e5cf86293f0628d06a.tar.gz
The session_replication_role actually can be changed at will during
a session regardless of the existence of cached plans. The plancache only needs to be invalidated so that rules affected by the new setting will be reflected in the new query plans. Jan
Diffstat (limited to 'src/include/utils/plancache.h')
-rw-r--r--src/include/utils/plancache.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/utils/plancache.h b/src/include/utils/plancache.h
index aebbbadaf5..d8152142aa 100644
--- a/src/include/utils/plancache.h
+++ b/src/include/utils/plancache.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/utils/plancache.h,v 1.6 2007/04/16 18:21:07 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/utils/plancache.h,v 1.7 2007/06/05 20:00:41 wieck Exp $
*
*-------------------------------------------------------------------------
*/
@@ -106,7 +106,6 @@ extern CachedPlan *RevalidateCachedPlan(CachedPlanSource *plansource,
bool useResOwner);
extern void ReleaseCachedPlan(CachedPlan *plan, bool useResOwner);
extern TupleDesc PlanCacheComputeResultDesc(List *stmt_list);
-extern bool HaveCachedPlans(void);
extern void ResetPlanCache(void);