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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Peter Geoghegan <pg(at)bowt(dot)ie>, hubert depesz lubaczewski <depesz(at)depesz(dot)com>, 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:05:37
Message-ID: 762946.1646964337@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andres Freund <andres(at)anarazel(dot)de> writes:
> Another example of complete brokenness in the wider area is catalog accesses
> happening after PROC_IN_VACUUM is set. Afaict it's entirely incorrect to do
> any catalog accesses once set, because rows that are still needed for the
> catalog access can just be removed.

That seems like a fairly untenable design rule. Maybe we should rethink
what PROC_IN_VACUUM means/is used for.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2022-03-11 02:10:47 Re: Pg 15 devel crashes when fetching data from table using cursor
Previous Message Peter Geoghegan 2022-03-11 02:03:46 Re: BUG #17255: Server crashes in index_delete_sort_cmp() due to race condition with vacuum