Re: Pg 15 devel crashes when fetching data from table using cursor - Mailing list pgsql-bugs

From Andres Freund
Subject Re: Pg 15 devel crashes when fetching data from table using cursor
Date
Msg-id 20220311023643.wjfhoi5xbggvmluu@alap3.anarazel.de
Whole thread Raw
In response to Re: Pg 15 devel crashes when fetching data from table using cursor  (Andres Freund <andres@anarazel.de>)
Responses Re: Pg 15 devel crashes when fetching data from table using cursor  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On 2022-03-10 16:50:45 -0800, Andres Freund wrote:
> Any chance you could try to come up with a reproducer?

Found one myself:

BEGIN;
DECLARE foo CURSOR FOR SELECT ev_action FROM pg_rewrite;
FETCH FROM foo;

interestingly a single row isn't sufficient to trigger it, even if it contains
data to be detoasted...

- Andres



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Pg 15 devel crashes when fetching data from table using cursor
Next
From: Tom Lane
Date:
Subject: Re: Pg 15 devel crashes when fetching data from table using cursor