Re: BUG #17151: A SEGV in optimizer - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: BUG #17151: A SEGV in optimizer
Date
Msg-id 20210818115119.GA13002@momjian.us
Whole thread Raw
In response to BUG #17151: A SEGV in optimizer  (PG Bug reporting form <noreply@postgresql.org>)
List 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@qq.com
> PostgreSQL version: 14beta2
> Operating system:   Linux version 5.13.0-1-MANJARO (builduser@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@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

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




pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: BUG #17148: About --no-strict-names option and --quiet option of pg_amcheck command
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #17152: ERROR: AddressSanitizer: SEGV on iso-8859-1 address