pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Riggs <simon@2ndQuadrant.com>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: [COMMITTERS] pgsql: Collect and use multi-column dependency stats
Date: Wed, 05 Apr 2017 18:48:57 -0400
Message-ID: <4188.1491432537@sss.pgh.pa.us> (raw)
In-Reply-To: <E1cvt3y-0008R4-5z@gemulon.postgresql.org>
References: <E1cvt3y-0008R4-5z@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Simon Riggs <simon@2ndQuadrant.com> writes:
> Collect and use multi-column dependency stats

The buildfarm is unhappy about the fact that this changed the API
for clauselist_selectivity().  I am not convinced that that change
was a good idea, so before telling FDW authors that they need to
change their code, I'd like to hear a defense of the API change.
Why not just use the existing varRelid parameter for that?  Why
is there an assumption that only one rel's extended stats will
ever be of interest?  This function does get used for join clauses.

			regards, tom lane


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



view thread (14+ messages)  latest in thread

Message-ID: <4188.1491432537@sss.pgh.pa.us>
Permalink:  ../4188.1491432537@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4188.1491432537@sss.pgh.pa.us

 · 

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, simon@2ndQuadrant.com, pgsql-hackers@postgreSQL.org
  Subject: Re: [COMMITTERS] pgsql: Collect and use multi-column dependency stats
  In-Reply-To: <4188.1491432537@sss.pgh.pa.us>
  References: <E1cvt3y-0008R4-5z@gemulon.postgresql.org> <4188.1491432537@sss.pgh.pa.us>

* 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