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/tcop/utility.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/backend/tcop/utility.c') diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index b610c8e7cee..c0fd0f967f6 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -308,6 +308,8 @@ CheckRestrictedOperation(const char *cmdname) * context: identifies source of statement (toplevel client command, * non-toplevel client command, subcommand of a larger utility command) * params: parameters to use during execution + * queryEnv: environment for parse through execution (e.g., ephemeral named + * tables like trigger transition tables). May be NULL. * dest: where to send results * completionTag: points to a buffer of size COMPLETION_TAG_BUFSIZE * in which to store a command completion status string. -- cgit v1.2.3