Re: [sqlsmith] ERROR: partition missing from subplans
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: David Rowley <david.rowley@2ndquadrant.com>
Cc: Andreas Seltenreich <seltenreich@gmx.de>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-08-16T16:01:30Z
Lists: pgsql-hackers
On 2018-Aug-11, David Rowley wrote: > 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. Looks good, pushed. I edited the comment a little bit. Thanks! -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Fix executor prune failure when plan already pruned
- 1eb9221585c2 12.0 landed
- 6589a435d83b 11.0 landed