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/include/utils/plancache.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/include/utils') diff --git a/src/include/utils/plancache.h b/src/include/utils/plancache.h index 48d4ac94b2a..9611f5a10c3 100644 --- a/src/include/utils/plancache.h +++ b/src/include/utils/plancache.h @@ -149,8 +149,7 @@ extern void ResetPlanCache(void); extern CachedPlanSource *CreateCachedPlan(struct RawStmt *raw_parse_tree, const char *query_string, - const char *commandTag, - QueryEnvironment *queryEnv); + const char *commandTag); extern CachedPlanSource *CreateOneShotCachedPlan(struct RawStmt *raw_parse_tree, const char *query_string, const char *commandTag); -- cgit v1.2.3