pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Rely on plan_cache_mode to force generic plans in partition_prun
Date: Mon, 30 Sep 2019 21:14:13 +0000
Message-ID: <E1iF2zl-0006Wm-TB@gemulon.postgresql.org> (raw)

Rely on plan_cache_mode to force generic plans in partition_prune test.

This file had a very weird mix of tests that did "set plan_cache_mode =
force_generic_plan" to get a generic plan, and tests that relied on
using five dummy executions of a prepared statement.  Converting them
all to rely on plan_cache_mode is more consistent and shaves off a
noticeable fraction of the test script's runtime.

Discussion: https://postgr.es/m/11952.1569536725@sss.pgh.pa.us

Branch
------
master

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

Modified Files
--------------
src/test/regress/expected/partition_prune.out | 295 +-------------------------
src/test/regress/sql/partition_prune.sql      |  82 +------
2 files changed, 6 insertions(+), 371 deletions(-)



Message-ID: <E1iF2zl-0006Wm-TB@gemulon.postgresql.org>
Permalink:  ../E1iF2zl-0006Wm-TB@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iF2zl-0006Wm-TB@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Rely on plan_cache_mode to force generic plans in partition_prun
  In-Reply-To: <E1iF2zl-0006Wm-TB@gemulon.postgresql.org>
  References: <E1iF2zl-0006Wm-TB@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