Add a pg_wal_preallocate() SQL function to eagerly create future WAL segments

Edit
ID 7052
Title Add a pg_wal_preallocate() SQL function to eagerly create future WAL segments
CI (CFBot) Summary
Stats (from CFBot) Patch version: v5, Patch count: 1, First patch: +349−0, All patches: +349−0
Tags Help - Benchmarks Performance
Created 2026-07-23 04:14:01
Last modified 2026-07-23 04:14:02 (2 weeks ago)
Latest email 2026-08-12 10:54:53 (17 minutes ago)
Status
PG20-2 (2026-09-01 – 2026-09-30): Needs review
Target version 20
Authors Ayush Tiwari (aytiwari)
Reviewers Bharath Rupireddy (bharathrupireddy), solai v (solaiv) Become reviewer
Committer
Links
Emails
Add a pg_wal_preallocate() SQL function to eagerly create future WAL segments
First at 2026-07-22 15:07:29 by Ayush Tiwari <ayushtiwari.slg01 at gmail.com>
Latest at 2026-08-12 10:54:53 by Nazir Bilal Yavuz <byavuz81 at gmail.com>
Latest attachment (v5-0001-pg_wal_preallocate.patch) at 2026-08-04 15:10:53 from Ayush Tiwari <ayushtiwari.slg01 at gmail.com>
    Attachment (v5-0001-pg_wal_preallocate.patch) at 2026-08-04 15:10:53 from Ayush Tiwari <ayushtiwari.slg01 at gmail.com> (Patch: No)
    Attachment (v4-0001-pg_wal_preallocate.patch) at 2026-08-03 14:24:32 from Ayush Tiwari <ayushtiwari.slg01 at gmail.com> (Patch: No)
    Attachment (v3-0001-pg_wal_preallocate.patch) at 2026-08-03 05:13:28 from Ayush Tiwari <ayushtiwari.slg01 at gmail.com> (Patch: No)
    Attachment (v2-0001-pg_wal_preallocate.patch) at 2026-07-28 06:24:45 from Ayush Tiwari <ayushtiwari.slg01 at gmail.com> (Patch: No)
    Attachment (v1-0001-pg_wal_preallocate.patch) at 2026-07-22 15:07:29 from Ayush Tiwari <ayushtiwari.slg01 at gmail.com> (Patch: No)
History
When Who What
2026-08-04 23:49:46 Bharath Rupireddy (bharathrupireddy) Added bharathrupireddy as reviewer
2026-08-03 05:32:40 CFbot Patch does not need rebase anymore
2026-07-30 22:21:36 CFbot Patch needs rebase
2026-07-29 07:03:08 solai v (solaiv) Added solaiv as reviewer
2026-07-28 06:44:33 CFbot Patch does not need rebase anymore
2026-07-28 05:44:29 CFbot Patch needs rebase
2026-07-23 04:14:02 Ayush Tiwari (aytiwari) Attached mail thread CAJTYsWXAPabSWBeT=bqJD+6w0D4-ozvoVoH7KiFUncM88bsQOg@mail.gmail.com
2026-07-23 04:14:01 Ayush Tiwari (aytiwari) Created patch record
Edit