Jul 2025

1 commit
Make safeguard against incorrect flags for fsync more portable.
1 Jul 2025Tom Lanemaster19beta1REL_19_STABLE19beta1REL_18_STABLE18beta2REL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14REL_14_STABLE14.19REL_13_STABLE13.22Also in: GNU/Hurd portability patches (part of a posted patchset)

Nov 2019

1 commit
Add safeguards for pg_fsync() called with incorrectly-opened fds
26 Nov 2019Michael Paquiermaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #31 of 1 reviewer saw the final version

The executable additions in src/backend/storage/file/fd.c match #3, including the Windows exclusion and errno reset; only the comment wording differs. Michael Paquier explicitly confirmed those comment edits and the commit in #7.

  • Mark Dilgersaw the final versiontrailerMark supplied clearer comments and branch ordering in #2, then reported successful regression tests and deliberate wrong-mode assertion tests of #3 in #5.

Credits across 2 commits

Author
Michael Banck1
Michael Paquier1
Reviewer
Mark Dilger1
Tom Lane1
Co author
Samuel Thibault1
Committer
Michael Paquier1
Tom Lane1