pgsql: Fix two undocumented parameters to functions from ENR patch.

From: Kevin Grittner <kgrittn(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix two undocumented parameters to functions from ENR patch.
Date: 2017-04-01 20:33:03
Message-ID: E1cuPhn-0006wn-RN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/41bd155dd656e7f17c02855be7aff234843347cd

Modified Files
--------------
src/backend/commands/prepare.c | 2 +-
src/backend/executor/spi.c | 3 +--
src/backend/tcop/postgres.c | 6 ++----
src/backend/tcop/utility.c | 2 ++
src/backend/utils/cache/plancache.c | 3 +--
src/include/utils/plancache.h | 3 +--
6 files changed, 8 insertions(+), 11 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jan de Visser 2017-04-02 01:28:11 Re: Vendor LLVM 4.0.
Previous Message Andrew Dunstan 2017-04-01 20:12:52 Re: pgsql: Full Text Search support for json and jsonb