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:04:58 -0700 |
commit | 21934612d86a1e0c83c2774b776a022b9a5a90bd (patch) | |
tree | 5b39e913fcf0a0f7ad11cc7a966c154f5ef766ff /src/backend/executor/nodeModifyTable.c | |
parent | e4514aafad0b134e67d7d0cf1612fb5c76fc8fec (diff) | |
download | postgresql-21934612d86a1e0c83c2774b776a022b9a5a90bd.tar.gz postgresql-21934612d86a1e0c83c2774b776a022b9a5a90bd.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/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions