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:51 +0200 |
commit | 59c62a21f2439e425abae5a2e9dd1d53371226ea (patch) | |
tree | 2d7c6ce33d32d439ee0159bbee9cdfb60a6fedd4 /src/tutorial/funcs.source | |
parent | 3a95d2c242eab1efd2ac89d8795ac7a5332c7581 (diff) | |
download | postgresql-59c62a21f2439e425abae5a2e9dd1d53371226ea.tar.gz postgresql-59c62a21f2439e425abae5a2e9dd1d53371226ea.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/tutorial/funcs.source')
0 files changed, 0 insertions, 0 deletions