pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add plan_cache_mode setting
Date: Mon, 16 Jul 2018 11:43:42 +0000
Message-ID: <E1ff1uo-0003hQ-O3@gemulon.postgresql.org> (raw)

Add plan_cache_mode setting

This allows overriding the choice of custom or generic plan.

Author: Pavel Stehule <pavel.stehule@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAFj8pRAGLaiEm8ur5DWEBo7qHRWTk9HxkuUAz00CZZtJj-LkCA%40mai...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f7cb2842bf47715133b40e4a503f35dbe60d1b72

Modified Files
--------------
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(+)



Message-ID: <E1ff1uo-0003hQ-O3@gemulon.postgresql.org>
Permalink:  ../E1ff1uo-0003hQ-O3@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ff1uo-0003hQ-O3@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Add plan_cache_mode setting
  In-Reply-To: <E1ff1uo-0003hQ-O3@gemulon.postgresql.org>
  References: <E1ff1uo-0003hQ-O3@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox