On 2018-Aug-11, David Rowley wrote:
> On 11 August 2018 at 14:09, David Rowley <david(dot)rowley(at)2ndquadrant(dot)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