Обсуждение: pgsql: Fix two undocumented parameters to functions from ENR patch.

Поиск
Список
Период
Сортировка

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

От
Kevin Grittner
Дата:
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(-)