diff options
| author | Jan Wieck <JanWieck@Yahoo.com> | 2007-06-05 20:00:41 +0000 |
|---|---|---|
| committer | Jan Wieck <JanWieck@Yahoo.com> | 2007-06-05 20:00:41 +0000 |
| commit | 1120b99445a90ceba27f49e5cf86293f0628d06a (patch) | |
| tree | 59c3c2464aaa4baa017512463d4c46a0778f1bc6 /src/include | |
| parent | f74426283d9a5d889c310e3844ef850622203d7e (diff) | |
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')
| -rw-r--r-- | src/include/utils/plancache.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/utils/plancache.h b/src/include/utils/plancache.h index aebbbadaf51..d8152142aac 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); |
