Re: BUG #17151: A SEGV in optimizer

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: 253540651(at)qq(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17151: A SEGV in optimizer
Date: 2021-08-18 11:51:19
Message-ID: 20210818115119.GA13002@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Aug 18, 2021 at 02:53:07AM +0000, PG Bug reporting form wrote:
> The following bug has been logged on the website:
>
> Bug reference: 17151
> Logged by: Zhiyong Wu
> Email address: 253540651(at)qq(dot)com
> PostgreSQL version: 14beta2
> Operating system: Linux version 5.13.0-1-MANJARO (builduser(at)LEGION)
> Description:
>
> PoC:
> CREATE TEMPORARY TABLE v0 ( v1 INTEGER ) ;
> CREATE RULE v1 AS ON DELETE TO v0 DO INSERT INTO v0 SELECT OFFSET - - - -1
> FOR UPDATE FOR UPDATE FOR SHARE FOR UPDATE FOR SHARE FOR SHARE ;
> ;
> DELETE FROM v0 ;
> ALTER TABLE v0 ADD UNIQUE ( v1 ) ;
> ;

I can confirm this failure on git master.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

If only the physical world exists, free will is an illusion.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2021-08-18 11:52:00 Re: BUG #17152: ERROR: AddressSanitizer: SEGV on unknown address
Previous Message Peter Eisentraut 2021-08-18 11:44:00 Re: BUG #17148: About --no-strict-names option and --quiet option of pg_amcheck command