From 41bd155dd656e7f17c02855be7aff234843347cd Mon Sep 17 00:00:00 2001 From: Kevin Grittner Date: Sat, 1 Apr 2017 15:21:05 -0500 Subject: Fix two undocumented parameters to functions from ENR patch. On ProcessUtility document the parameter, to match others. On CreateCachedPlan drop the queryEnv parameter. It was not referenced within the function, and had been added on the assumption that with some unknown future usage of QueryEnvironment it might be useful to do something there. We have avoided other "just in case" implementation of unused paramters, so drop it here. Per gripe from Tom Lane --- src/backend/utils/cache/plancache.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/backend/utils/cache/plancache.c') diff --git a/src/backend/utils/cache/plancache.c b/src/backend/utils/cache/plancache.c index a116d5ed63e..50da116cf44 100644 --- a/src/backend/utils/cache/plancache.c +++ b/src/backend/utils/cache/plancache.c @@ -151,8 +151,7 @@ InitPlanCache(void) CachedPlanSource * CreateCachedPlan(RawStmt *raw_parse_tree, const char *query_string, - const char *commandTag, - QueryEnvironment *queryEnv) + const char *commandTag) { CachedPlanSource *plansource; MemoryContext source_context; -- cgit v1.2.3