pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix race condition where heap_delete() fails to pin VM page. 5+ messages / 1 participants [nested] [flat]
* pgsql: Fix race condition where heap_delete() fails to pin VM page. @ 2022-09-22 18:44 Jeff Davis <jdavis@postgresql.org> 0 siblings, 0 replies; 5+ messages in thread From: Jeff Davis @ 2022-09-22 18:44 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/163b0993a162ebae00fe5de8f593a5da28821a1b Modified Files -------------- src/backend/access/heap/heapam.c | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix race condition where heap_delete() fails to pin VM page. @ 2022-09-22 18:45 Jeff Davis <jdavis@postgresql.org> 0 siblings, 0 replies; 5+ messages in thread From: Jeff Davis @ 2022-09-22 18:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/dd6070bc81733c3174f2e257d43908f98b0255fb Modified Files -------------- src/backend/access/heap/heapam.c | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix race condition where heap_delete() fails to pin VM page. @ 2022-09-22 18:45 Jeff Davis <jdavis@postgresql.org> 0 siblings, 0 replies; 5+ messages in thread From: Jeff Davis @ 2022-09-22 18:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/21934612d86a1e0c83c2774b776a022b9a5a90bd Modified Files -------------- src/backend/access/heap/heapam.c | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix race condition where heap_delete() fails to pin VM page. @ 2022-09-22 18:45 Jeff Davis <jdavis@postgresql.org> 0 siblings, 0 replies; 5+ messages in thread From: Jeff Davis @ 2022-09-22 18:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/410c422b75ac53a4da438c1a4b0e1fa421db0d59 Modified Files -------------- src/backend/access/heap/heapam.c | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix race condition where heap_delete() fails to pin VM page. @ 2022-09-22 18:45 Jeff Davis <jdavis@postgresql.org> 0 siblings, 0 replies; 5+ messages in thread From: Jeff Davis @ 2022-09-22 18:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/cab72f0fd08cceb975194d2acd2f6eed917e8fb8 Modified Files -------------- src/backend/access/heap/heapam.c | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2022-09-22 18:45 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2022-09-22 18:44 pgsql: Fix race condition where heap_delete() fails to pin VM page. Jeff Davis <jdavis@postgresql.org> 2022-09-22 18:45 pgsql: Fix race condition where heap_delete() fails to pin VM page. Jeff Davis <jdavis@postgresql.org> 2022-09-22 18:45 pgsql: Fix race condition where heap_delete() fails to pin VM page. Jeff Davis <jdavis@postgresql.org> 2022-09-22 18:45 pgsql: Fix race condition where heap_delete() fails to pin VM page. Jeff Davis <jdavis@postgresql.org> 2022-09-22 18:45 pgsql: Fix race condition where heap_delete() fails to pin VM page. Jeff Davis <jdavis@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox