diff options
Diffstat (limited to 'src/include/utils')
| -rw-r--r-- | src/include/utils/guc.h | 4 | ||||
| -rw-r--r-- | src/include/utils/plancache.h | 4 | ||||
| -rw-r--r-- | src/include/utils/portal.h | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h index 3efb861893..e3315c7225 100644 --- a/src/include/utils/guc.h +++ b/src/include/utils/guc.h @@ -7,7 +7,7 @@ * Copyright (c) 2000-2007, PostgreSQL Global Development Group * Written by Peter Eisentraut <peter_e@gmx.net>. * - * $PostgreSQL: pgsql/src/include/utils/guc.h,v 1.80 2007/03/06 02:06:15 momjian Exp $ + * $PostgreSQL: pgsql/src/include/utils/guc.h,v 1.81 2007/04/12 06:53:48 neilc Exp $ *-------------------------------------------------------------------- */ #ifndef GUC_H @@ -201,7 +201,7 @@ extern int GetNumConfigOptions(void); extern void SetPGVariable(const char *name, List *args, bool is_local); extern void GetPGVariable(const char *name, DestReceiver *dest); extern TupleDesc GetPGVariableResultDesc(const char *name); -extern void ResetPGVariable(const char *name); +extern void ResetPGVariable(const char *name, bool isTopLevel); extern char *flatten_set_variable_args(const char *name, List *args); diff --git a/src/include/utils/plancache.h b/src/include/utils/plancache.h index e193238291..562b369044 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.4 2007/03/23 19:53:52 tgl Exp $ + * $PostgreSQL: pgsql/src/include/utils/plancache.h,v 1.5 2007/04/12 06:53:48 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -105,4 +105,6 @@ extern void ReleaseCachedPlan(CachedPlan *plan, bool useResOwner); extern TupleDesc PlanCacheComputeResultDesc(List *stmt_list); extern bool HaveCachedPlans(void); +extern void ResetPlanCache(void); + #endif /* PLANCACHE_H */ diff --git a/src/include/utils/portal.h b/src/include/utils/portal.h index 47651006a2..4c31e2a121 100644 --- a/src/include/utils/portal.h +++ b/src/include/utils/portal.h @@ -39,7 +39,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/portal.h,v 1.74 2007/03/13 00:33:43 tgl Exp $ + * $PostgreSQL: pgsql/src/include/utils/portal.h,v 1.75 2007/04/12 06:53:48 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -212,5 +212,6 @@ extern void PortalDefineQuery(Portal portal, CachedPlan *cplan); extern Node *PortalListGetPrimaryStmt(List *stmts); extern void PortalCreateHoldStore(Portal portal); +extern void PortalHashTableDeleteAll(void); #endif /* PORTAL_H */ |
