diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2023-11-28 11:59:09 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2023-11-28 11:59:52 +0200 |
commit | e434d3620a91f6f4511de32aaad70c1830949797 (patch) | |
tree | 0121c8426548f018e4fd3872b6b0d4cb56238f21 /src/backend/access/transam/xlog.c | |
parent | 2c4dd36e2580a645cf9554b8335907964bf3344b (diff) |
Fix assertions with RI triggers in heap_update and heap_delete.
If the tuple being updated is not visible to the crosscheck snapshot,
we return TM_Updated but the assertions would not hold in that case.
Move them to before the cross-check.
Fixes bug #17893. Backpatch to all supported versions.
Author: Alexander Lakhin
Backpatch-through: 12
Discussion: https://www.postgresql.org/message-id/17893-35847009eec517b5%40postgresql.org
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions