diff options
author | Jeff Davis <jdavis@postgresql.org> | 2022-09-22 10:58:49 -0700 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2022-09-22 11:06:42 -0700 |
commit | 410c422b75ac53a4da438c1a4b0e1fa421db0d59 (patch) | |
tree | bee5f8f8df6fe46094a627bd53b1b7477095cfd2 /src/backend/commands/trigger.c | |
parent | 5f9dda4c0664faf36fdf931f00e2206dad2d3066 (diff) | |
download | postgresql-410c422b75ac53a4da438c1a4b0e1fa421db0d59.tar.gz postgresql-410c422b75ac53a4da438c1a4b0e1fa421db0d59.zip |
Fix race condition where heap_delete() fails to pin VM page.
Similar to 5f12bc94dc, the code must re-check PageIsAllVisible() after
buffer lock is re-acquired. Backpatching to the same version, 12.
Discussion: https://postgr.es/m/CAEP4nAw9jYQDKd_5Y+-s2E4YiUJq1vqiikFjYGpLShtp-K3gag@mail.gmail.com
Reported-by: Robins Tharakan
Reviewed-by: Robins Tharakan
Backpatch-through: 12
Diffstat (limited to 'src/backend/commands/trigger.c')
0 files changed, 0 insertions, 0 deletions