Fix RelationTruncate() corruption

Edit
ID 5242
Title Fix RelationTruncate() corruption
Topic Bug Fixes
Created 2024-09-05 23:01:42
Last modified 2024-09-05 23:02:02 (2 months, 2 weeks ago)
Latest email 2024-11-14 15:51:45 (6 days, 16 hours ago)
Status
2024-11: Needs review
Target version
Authors Robert Haas (rhaas), Thomas Munro (macdice)
Reviewers Become reviewer
Committer
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/5242
git checkout commitfest/cf/5242
Emails
BUG #18146: Rows reappearing in Tables after Auto-Vacuum Failure in PostgreSQL on Windows
First at 2023-10-03 17:25:17 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2024-11-14 15:51:45 by Robert Haas <robertmhaas at gmail.com>
Latest attachment (v4-0001-RelationTruncate-must-use-a-critical-section.patch) at 2024-09-10 00:43:16 from Thomas Munro <thomas.munro at gmail.com>
    Attachment (v4-0001-RelationTruncate-must-use-a-critical-section.patch) at 2024-09-10 00:43:16 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (v3-0001-RelationTruncate-must-set-DELAY_CHKPT_START.patch) at 2024-09-05 23:05:26 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (v2-0001-RelationTruncate-must-set-DELAY_CHKPT_START.patch) at 2024-04-23 07:48:12 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (0002-Panic-if-filesystem-truncation-fails.patch) at 2023-10-19 19:50:07 from Robert Haas <robertmhaas at gmail.com> (Patch: Yes)
    Attachment (hack.diff) at 2023-10-06 04:46:23 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
History
When Who What
2024-09-05 23:02:02 Thomas Munro (macdice) Changed authors to Robert Haas (rhaas), Thomas Munro (macdice)
2024-09-05 23:01:43 Thomas Munro (macdice) Attached mail thread 18146-04e908c662113ad5@postgresql.org
2024-09-05 23:01:42 Thomas Munro (macdice) Created patch record
Edit