Re: BUG #17094: FailedAssertion at planner.c

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Richard Guo <guofenglinux(at)gmail(dot)com>
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-08 17:22:06
Message-ID: 2032521.1625764926@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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.

regards, tom lane

Attachment Content-Type Size
tighten-rule-rewrite-in-WITH-restrictions.patch text/x-diff 3.8 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2021-07-08 19:55:27 Re: BUG #17083: [PATCH] PostgreSQL fails to build with OpenLDAP 2.5.x
Previous Message Etsuro Fujita 2021-07-08 17:10:06 Re: The case when AsyncAppend exists also in the qual of Async ForeignScan