aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/cache
diff options
context:
space:
mode:
authorKevin Grittner <kgrittn@postgresql.org>2017-04-01 15:21:05 -0500
committerKevin Grittner <kgrittn@postgresql.org>2017-04-01 15:21:05 -0500
commit41bd155dd656e7f17c02855be7aff234843347cd (patch)
tree2b5181cbab8739e2772fa0eb3d7f72d6df0a795f /src/backend/utils/cache
parentc655899ba9ae2a0d24e99c797167c33e0cfa0820 (diff)
downloadpostgresql-41bd155dd656e7f17c02855be7aff234843347cd.tar.gz
postgresql-41bd155dd656e7f17c02855be7aff234843347cd.zip
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
Diffstat (limited to 'src/backend/utils/cache')
-rw-r--r--src/backend/utils/cache/plancache.c3
1 files changed, 1 insertions, 2 deletions
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;