Re: Pg 15 devel crashes when fetching data from table using cursor

From: Andres Freund <andres(at)anarazel(dot)de>
To: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
Cc: PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: Pg 15 devel crashes when fetching data from table using cursor
Date: 2022-03-11 02:36:43
Message-ID: 20220311023643.wjfhoi5xbggvmluu@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2022-03-11 02:40:05 Re: Pg 15 devel crashes when fetching data from table using cursor
Previous Message Tom Lane 2022-03-11 02:21:13 Re: Pg 15 devel crashes when fetching data from table using cursor