Add plan_cache_mode setting

Enterprise / PostgreSQL - Peter Eisentraut [gmx.net] - 16 July 2018 11:35 EDT

This allows overriding the choice of custom or generic plan.

Author: Pavel Stehule Discussion: https://www.postgresql.org/message-id/flat/CAFj8pRAGLaiEm8ur5DWEBo7qHRWTk9HxkuUAz00CZZtJj-LkCA%40mail.gmail.com

f7cb2842bf Add plan_cache_mode setting
doc/src/sgml/config.sgml | 30 +++++++++++
src/backend/utils/cache/plancache.c | 8 +++
src/backend/utils/misc/guc.c | 19 +++++++
src/backend/utils/misc/postgresql.conf.sample | 1 +
src/include/utils/plancache.h | 11 ++++
src/test/regress/expected/plancache.out | 77 +++++++++++++++++++++++++++
src/test/regress/sql/plancache.sql | 33 ++++++++++++
7 files changed, 179 insertions(+)

Upstream: git.postgresql.org


  • Share