Re: [sqlsmith] ERROR: partition missing from subplans

David Rowley <david.rowley@2ndquadrant.com>

From: David Rowley <david.rowley@2ndquadrant.com>
To: Andreas Seltenreich <seltenreich@gmx.de>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-08-11T03:32:58Z
Lists: pgsql-hackers

Attachments

On 11 August 2018 at 14:09, David Rowley <david.rowley@2ndquadrant.com> wrote:
> So my best idea on a
> fix is simply to remove the code that raises the error.

Here's a patch to do that. I've also included a further simplified
test to ensure this case performs run-time pruning correctly.

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Commits

  1. Fix executor prune failure when plan already pruned