Re: pgsql: Support partition pruning at execution time

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-committers@lists.postgresql.org
Date: 2018-04-07T21:57:30Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Support partition pruning at execution time

Buildfarm member lapwing doesn't like this.  I can reproduce the
failures here by setting force_parallel_mode = regress.  Kind
of looks like instrumentation counts aren't getting propagated
from workers back to the leader?

			regards, tom lane


Commits

  1. Update Append's idea of first_partial_plan

  2. Fix IndexOnlyScan counter for heap fetches in parallel mode

  3. Fix incorrect logic for choosing the next Parallel Append subplan

  4. Minor comment updates

  5. Attempt to stabilize partition_prune test output.

  6. Support partition pruning at execution time