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@postgresql.org
Subject: pgsql: Redefine create_upper_paths_hook as being invoked once per upper
Date: Tue, 12 Apr 2016 19:23:23 +0000
Message-ID: <E1aq3uF-0004D5-FA@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Redefine create_upper_paths_hook as being invoked once per upper relation.

Per discussion, this gives potential users of the hook more flexibility,
because they can build custom Paths that implement only one stage of
upper processing atop core-provided Paths for earlier stages.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f1f01de145d0aaca80e6cf8b2ccb7e7f4ed1ad02

Modified Files
--------------
src/backend/optimizer/plan/planner.c   | 45 ++++++++++++++++++++++++++--------
src/backend/optimizer/prep/prepunion.c |  7 +++++-
src/include/optimizer/planner.h        |  6 +++--
3 files changed, 45 insertions(+), 13 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1aq3uF-0004D5-FA@gemulon.postgresql.org>
Permalink:  ../E1aq3uF-0004D5-FA@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1aq3uF-0004D5-FA@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: Redefine create_upper_paths_hook as being invoked once per upper
  In-Reply-To: <E1aq3uF-0004D5-FA@gemulon.postgresql.org>
  References: <E1aq3uF-0004D5-FA@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