pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Etsuro Fujita <efujita@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Save PathTargets for distinct/ordered relations in root->upper_t
Date: Mon, 18 Feb 2019 07:16:30 +0000
Message-ID: <E1gvdAE-0002cg-Bu@gemulon.postgresql.org> (raw)

Save PathTargets for distinct/ordered relations in root->upper_targets[].

For the convenience of extensions, we previously only saved PathTargets
for grouped, window, and final relations in root->upper_targets[] in
grouping_planner().  To improve the convenience, save PathTargets for
distinct and ordered relations as well.

Author: Antonin Houska, with an additional change by me
Discussion: https://postgr.es/m/10994.1549559088@localhost

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3fdc374b5d24b08119a91555ca2fae427af0b085

Modified Files
--------------
src/backend/optimizer/plan/planner.c | 2 ++
1 file changed, 2 insertions(+)



Message-ID: <E1gvdAE-0002cg-Bu@gemulon.postgresql.org>
Permalink:  ../E1gvdAE-0002cg-Bu@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gvdAE-0002cg-Bu@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: efujita@postgresql.org
  Subject: Re: pgsql: Save PathTargets for distinct/ordered relations in root->upper_t
  In-Reply-To: <E1gvdAE-0002cg-Bu@gemulon.postgresql.org>
  References: <E1gvdAE-0002cg-Bu@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