Re: BUG #17893: Assert failed in heap_update()/_delete() when FK modiified by RI trigger in non-read-committed xact
Heikki Linnakangas <hlinnaka@iki.fi>
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Alexander Lakhin <exclusion@gmail.com>, pgsql-bugs@lists.postgresql.org,
Andres Freund <andres@anarazel.de>
Date: 2023-11-28T10:39:09Z
Lists: pgsql-bugs
On 28/11/2023 11:00, Alexander Lakhin wrote: > 27.11.2023 22:23, Heikki Linnakangas wrote: >> I propose to attached slight variation, which moves the assertions before the crosscheck snapshot check. The >> assertions are correct as they are, if you don't need to take the crosscheck into account. > > Thank you for paying attention to this! > I agree with your variation, it's more accurate. Committed and backpatched. Thank you! -- Heikki Linnakangas Neon (https://neon.tech)
Commits
-
Fix assertions with RI triggers in heap_update and heap_delete.
- 60f227316c0e 17.0 landed
- b8a606e21b06 12.18 landed
- e434d3620a91 13.14 landed
- 59c62a21f243 14.11 landed
- 2873fbfe0d65 15.6 landed
- 9fee3232a1d3 16.2 landed