Re: pgsql: Avoid improbable PANIC during heap_update.
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Jaime Casanova <jcasanov@systemguards.com.ec>,
pgsql-committers@lists.postgresql.org, Jeff Davis <pgsql@j-davis.com>
Date: 2022-10-01T05:13:13Z
Lists: pgsql-hackers
Peter Geoghegan <pg@bowt.ie> writes: > I think that the heap_delete() issue is probably in all PG versions. Yeah, that's what I'm afraid of ... > I am not aware of any reason why we should need the heap_update() > fixes to be backpatched any further. How so? AFAICS these are exactly the same oversight, ie failure to deal with the all-visible bit getting set partway through the operation. You've explained how that can happen. regards, tom lane
Commits
-
Avoid improbable PANIC during heap_update, redux.
- 2dc2e4e31adb 16.0 landed
- e7bd2d671249 12.13 landed
- b93d7e6883d6 14.6 landed
- 92941f26435c 13.9 landed
- 2267085c1688 15.0 landed
-
Fix race condition where heap_delete() fails to pin VM page.
- 163b0993a162 16.0 cited
-
Avoid improbable PANIC during heap_update.
- 34f581c39e97 14.0 cited