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:50 +0200 |
commit | 2873fbfe0d6500a45a316d2d42414a432a96e9f1 (patch) | |
tree | a1af9db7655d103a0f8b189c4f999befd3a6dc45 /src/backend/commands/dbcommands.c | |
parent | fef92f9ba10175bab6af4307c54ce450a592a2e7 (diff) | |
download | postgresql-2873fbfe0d6500a45a316d2d42414a432a96e9f1.tar.gz postgresql-2873fbfe0d6500a45a316d2d42414a432a96e9f1.zip |
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/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions