From: Bruce Momjian <bruce@momjian.us>
To: 253540651@qq.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17151: A SEGV in optimizer
Date: Wed, 18 Aug 2021 07:51:19 -0400
Message-ID: <20210818115119.GA13002@momjian.us> (raw)
In-Reply-To: <17151-c03a3e6e4ec9aadb@postgresql.org>
References: <17151-c03a3e6e4ec9aadb@postgresql.org>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, 253540651@qq.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17151: A SEGV in optimizer
In-Reply-To: <20210818115119.GA13002@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox