Jul 2026

9 commits
Clean up write() return type
15 Jul 2026Peter Eisentrautmasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

The commit combines the write(), pg_pwrite(), and FileWrite() patches from #1, with identical added and removed lines after whitespace normalization. This includes the separate short-write error handling in src/backend/access/heap/rewriteheap.c and buffer accounting changes in src/backend/storage/file/buffile.c.

  • Heikki Linnakangassaw the final versiontrailerHeikki reviewed the entire series favorably in #2, including the three write patches subsequently combined without substantive edits.
Add assertion about ssize_t narrowing in AIO code
15 Jul 2026Peter Eisentrautmasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

The AIO patch in #1 matches exactly: src/backend/storage/aio/aio_io.c gains the five-line comment and Assert(result <= INT_MAX) before assigning ioh->result.

  • Heikki Linnakangassaw the final versiontrailerHeikki reported skimming the entire series and finding it good in #2, and the AIO patch landed unchanged.
Clean up read() return type
15 Jul 2026Peter Eisentrautmasterunreleased
LLM analysis, 100% suremodified before commitlight changesfrom patchset #11 of 1 reviewer saw the final version

The commit combines the read(), pg_pread(), and FileRead() patches from #1. The only additional code edit removes the outer int i in src/bin/pg_ctl/pg_ctl.c and declares ssize_t i in both readfile() loops, implementing the review suggestion in #2 as confirmed in #3.

  • Heikki Linnakangassaw the final versiontrailerHeikki endorsed the series and requested wider pg_ctl counters in #2, with only the small loop-counter adjustment incorporated before landing.
Clean up secure_read()/secure_write() return type
15 Jul 2026Peter Eisentrautmasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

All nine additions and nine removals match the secure_read()/secure_write() patch in #1. The differing pqReadData_internal() context in src/interfaces/libpq/fe-misc.c already exists in the commit's parent and is a rebase difference.

  • Heikki Linnakangassaw the final versiontrailerHeikki's favorable review of the whole series in #2 covers the secure I/O patch, whose changes landed intact.
Make blkreftable API use size_t/ssize_t consistently
13 Jul 2026Peter Eisentrautmasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

The five-file blkreftable patch from #1 matches after whitespace and hunk-position normalization, including size_t callback lengths and ssize_t syscall results in src/backend/backup/walsummary.c.

  • Heikki Linnakangassaw the final versiontrailerHeikki reviewed all patches favorably in #2, and the blkreftable changes landed unchanged.
Clean up copy_file_range() return type
13 Jul 2026Peter Eisentrautmasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

The commit exactly matches the copy_file_range() patch in #1, changing wb from int to ssize_t in src/bin/pg_combinebackup/reconstruct.c.

  • Heikki Linnakangassaw the final versiontrailerHeikki's favorable review of the complete series in #2 covers this unchanged copy_file_range() correction.
Clean up readlink() return type
13 Jul 2026Peter Eisentrautmasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

The ten-file readlink() patch in #1 matches after normalization, including ssize_t declarations, ENAMETOOLONG handling in src/port/dirmod.c, and the truncation check in src/port/win32stat.c.

  • Heikki Linnakangassaw the final versiontrailerHeikki endorsed the complete series in #2, and the readlink() changes landed unchanged.
Move Windows ssize_t definition earlier
13 Jul 2026Peter Eisentrautmasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

The commit matches the Windows prerequisite in #1, moving the seventeen-line MSVC definitions block earlier in src/include/port/win32_port.h so subsequent declarations can use ssize_t.

  • Heikki Linnakangassaw the final versiontrailerHeikki reviewed the whole series favorably in #2, including this unchanged Windows prerequisite.
Some const qualifications added in passing
13 Jul 2026Peter Eisentrautmasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

All twenty-seven additions and twenty-seven removals match the const-qualification patch in #1, covering timeline, two-phase, receivelog, and reconstruction interfaces; the expanded commit description adds no code changes.

  • Heikki Linnakangassaw the final versiontrailerHeikki's favorable review of all patches in #2 covers the const qualifications that landed unchanged.

Credits across 9 commits

Author
Peter EisentrautLLM9
Reviewer
Heikki Linnakangas9
Committer
Peter Eisentraut9

N LLM means N of the credits come from LLM analysis, not from commit trailers.