Windows pg_basebackup unable to create >2GB pg_wal.tar tarballs ("could not close file: Invalid argument" when creating pg_wal.tar of size ~ 2^31 bytes)

Edit
ID 5403
Title Windows pg_basebackup unable to create >2GB pg_wal.tar tarballs ("could not close file: Invalid argument" when creating pg_wal.tar of size ~ 2^31 bytes)
Topic Bug Fixes
Created 2024-11-25 07:23:50
Last modified 2024-11-25 07:25:17 (2 weeks, 2 days ago)
Latest email 2024-12-07 07:42:59 (4 days, 2 hours ago)
Status
2025-01: Withdrawn
Target version stable
Authors Thomas Munro (macdice), Jakub Wartak (jakub.wartak.tomtom)
Reviewers Thomas Munro (macdice)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/5403
git checkout commitfest/cf/5403
Emails
Windows pg_basebackup unable to create >2GB pg_wal.tar tarballs ("could not close file: Invalid argument" when creating pg_wal.tar of size ~ 2^31 bytes)
First at 2024-11-21 10:44:26 by Jakub Wartak <jakub.wartak at enterprisedb.com>
Latest at 2024-12-07 07:42:59 by Davinder Singh <davinder.singh at enterprisedb.com>
Latest attachment (v3_0002_PG13_Bugfix_Windows_pg_basebackup.patch) at 2024-12-07 07:42:59 from Davinder Singh <davinder.singh at enterprisedb.com>
    Attachment (v3_0002_PG13_Bugfix_Windows_pg_basebackup.patch) at 2024-12-07 07:42:59 from Davinder Singh <davinder.singh at enterprisedb.com> (Patch: Yes)
    Attachment (v3-0001-Redirect-to-64-bit-ftruncate-and-lseek-on-Windows.patch) at 2024-12-06 06:01:06 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (v2_0001-Bugfix-Windows-pg_basebackup-ability-to-create-2GB-p.patch) at 2024-11-27 12:12:26 from Davinder Singh <davinder.singh at enterprisedb.com> (Patch: Yes)
    Attachment (v1-0001-Bugfix-Windows-pg_basebackup-ability-to-create-2G.patch) at 2024-11-22 09:55:15 from Jakub Wartak <jakub.wartak at enterprisedb.com> (Patch: Yes)
    Attachment (DB_2834_sysinternals.png) at 2024-11-21 10:44:26 from Jakub Wartak <jakub.wartak at enterprisedb.com> (Patch: No)
History
When Who What
2024-11-25 07:25:17 Jakub Wartak (jakub.wartak.tomtom) Closed in commitfest 2025-01 with status: Withdrawn
2024-11-25 07:24:27 Jakub Wartak (jakub.wartak.tomtom) Changed reviewers to Thomas Munro (macdice)
2024-11-25 07:24:27 Jakub Wartak (jakub.wartak.tomtom) Changed authors to Thomas Munro (macdice), Jakub Wartak (jakub.wartak.tomtom)
2024-11-25 07:24:27 Jakub Wartak (jakub.wartak.tomtom) Changed targetversion to stable
2024-11-25 07:23:50 Jakub Wartak (jakub.wartak.tomtom) Attached mail thread CAKZiRmyM4YnokK6Oenw5JKwAQ3rhP0YTz2T-tiw5dAQjGRXE3Q@mail.gmail.com
2024-11-25 07:23:50 Jakub Wartak (jakub.wartak.tomtom) Created patch record
Edit