From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: David Rowley <david.rowley@2ndquadrant.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Support partition pruning at execution time
Date: Mon, 09 Apr 2018 18:03:02 -0400
Message-ID: <28986.1523311382@sss.pgh.pa.us> (raw)
In-Reply-To: <20180409215851.idwc75ct2bzi6tea@alvherre.pgsql>
References: <20180409215851.idwc75ct2bzi6tea@alvherre.pgsql>
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> I then noticed that support for nfiltered3 was incomplete; hence 0001.
> (I then noticed that nfiltered3 was added for MERGE. It looks wrong to
> me.)
In that case, it's likely to go away when Simon reverts MERGE. Suggest
you hold off committing until he's done so, as he probably already has
some conflicts to deal with and doesn't need another.
> Frankly, I don't like this. I would rather have an instrument->ntuples2
> rather than these "divide this by nloops, sometimes" schizoid counters.
> This is already being misused by ON CONFLICT (see "other_path" in
> show_modifytable_info). But it seems like a correct fix would require
> more code.
The question then becomes whether to put back nfiltered3, or to do
something more to your liking. Think I'd vote for the latter.
regards, tom lane
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, alvherre@alvh.no-ip.org, andrew@tao11.riddles.org.uk, david.rowley@2ndquadrant.com
Subject: Re: pgsql: Support partition pruning at execution time
In-Reply-To: <28986.1523311382@sss.pgh.pa.us>
References: <20180409215851.idwc75ct2bzi6tea@alvherre.pgsql> <28986.1523311382@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