Re: BUG #17094: FailedAssertion at planner.c

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: cyg0810(at)gmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17094: FailedAssertion at planner.c
Date: 2021-07-09 07:17:41
Message-ID: CAMbWs49ZGW=1dbYHihVHHa-PnpBCr_-ndN6fDVfM4N-+W0aX=g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Jul 9, 2021 at 1:22 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message hubert depesz lubaczewski 2021-07-09 08:43:55 I/O timigns don't include time for temp buffers
Previous Message Richard Guo 2021-07-09 06:54:02 Re: BUG #17088: FailedAssertion in prepagg.c