Re: BUG #17094: FailedAssertion at planner.c - Mailing list pgsql-bugs

From Richard Guo
Subject Re: BUG #17094: FailedAssertion at planner.c
Date
Msg-id CAMbWs49ZGW=1dbYHihVHHa-PnpBCr_-ndN6fDVfM4N-+W0aX=g@mail.gmail.com
Whole thread Raw
In response to Re: BUG #17094: FailedAssertion at planner.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #17094: FailedAssertion at planner.c  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs

On Fri, Jul 9, 2021 at 1:22 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
I wrote:
> I'm inclined to think we have to reject cases like this.

Concretely, about like this.  I noticed that the adjacent error
cases in RewriteQuery were mostly not covered either by the
regression tests, so I added tests to hit them all.

It makes sense to me we reject this case. Tested the patch and it works
as expected.

Thanks
Richard

pgsql-bugs by date:

Previous
From: Richard Guo
Date:
Subject: Re: BUG #17088: FailedAssertion in prepagg.c
Next
From: hubert depesz lubaczewski
Date:
Subject: I/O timigns don't include time for temp buffers