Re: Safeguards against incorrect fd flags for fsync()
Michael Banck <mbanck@gmx.net>
From: Michael Banck <mbanck@gmx.net>
To: Michael Paquier <michael@paquier.xyz>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-06-25T06:04:59Z
Lists: pgsql-hackers
Hi, On Wed, Jun 25, 2025 at 08:36:01AM +0900, Michael Paquier wrote: > On Tue, Jun 24, 2025 at 07:51:08AM +0200, Michael Banck wrote: > > I got it working, I had to rebuild gnumach with --enable-apic in order > > to get HPET. With that, the regular build-farm checks (check/ > > installcheck in contrib, src/test/regress and src/test/isolation) pass > > without patches to testsuite timings. > > How many custom patches did you have to apply to the backend to make > these suites work on this platform? Just those two (i.e. the one I posted in this thread and one adopted from the current Debian package and discussed in [1]): https://github.com/postgres/postgres/compare/master...mbanck:postgres:hurd-port I am going to post them again for the next commitfest. Michael [1] https://www.postgresql.org/message-id/6846e0c3.df0a0220.39ef9b.c60e%40mx.google.com
Commits
-
Make safeguard against incorrect flags for fsync more portable.
- d0a695cf41de 13.22 landed
- 71d71ac4d1bb 14.19 landed
- 0fb496c704fc 15.14 landed
- 45c5276628d1 18.0 landed
- 3a2617e4f0be 16.10 landed
- 29c54ea7b49c 17.6 landed
- 29213636e6cd 19 (unreleased) landed
-
Add safeguards for pg_fsync() called with incorrectly-opened fds
- 12198239c0a5 13.0 landed