Re: BUG #17094: FailedAssertion at planner.c

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Guo <guofenglinux@gmail.com>
Cc: cyg0810@gmail.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2021-07-09T15:03:52Z
Lists: pgsql-bugs
Richard Guo <guofenglinux@gmail.com> writes:
> On Fri, Jul 9, 2021 at 1:22 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> I'm inclined to think we have to reject cases like this.

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

Pushed, thanks for looking at it!

			regards, tom lane



Commits

  1. Reject cases where a query in WITH rewrites to just NOTIFY.