Re: [HACKERS] [COMMITTERS] pgsql: Collect and use multi-column dependency stats - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: [HACKERS] [COMMITTERS] pgsql: Collect and use multi-column dependency stats
Date
Msg-id CANP8+jKnpeiejq2LrtyAPZKB4H_6KUqRo5YTN6wgu5VWeScXAQ@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] [COMMITTERS] pgsql: Collect and use multi-columndependency stats  (David Rowley <david.rowley@2ndquadrant.com>)
List pgsql-hackers
On 5 April 2017 at 18:48, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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.

Point noted. Reading thread and hope to fix today.

-- 
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [HACKERS] Re: new set of psql patches for loading (saving) datafrom (to) text, binary files
Next
From: Alexander Korotkov
Date:
Subject: Re: [HACKERS] [GSoC] Push-based query executor discussion