diff options
author | Kevin Grittner <kgrittn@postgresql.org> | 2017-04-01 15:21:05 -0500 |
---|---|---|
committer | Kevin Grittner <kgrittn@postgresql.org> | 2017-04-01 15:21:05 -0500 |
commit | 41bd155dd656e7f17c02855be7aff234843347cd (patch) | |
tree | 2b5181cbab8739e2772fa0eb3d7f72d6df0a795f /src/backend/tcop/utility.c | |
parent | c655899ba9ae2a0d24e99c797167c33e0cfa0820 (diff) | |
download | postgresql-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/tcop/utility.c')
-rw-r--r-- | src/backend/tcop/utility.c | 2 |
1 files changed, 2 insertions, 0 deletions
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. |