Re: GNU/Hurd portability patches

Michael Banck <mbanck@gmx.net>

From: Michael Banck <mbanck@gmx.net>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Alexander Lakhin <exclusion@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, Michael Paquier <michael@paquier.xyz>, Samuel Thibault <samuel.thibault@gnu.org>, pgsql-hackers@lists.postgresql.org
Date: 2025-11-17T09:39:56Z
Lists: pgsql-hackers
Hi Thomas,

On Mon, Nov 17, 2025 at 03:59:30PM +1300, Thomas Munro wrote:
> On Tue, Nov 11, 2025 at 10:49 AM Michael Banck <mbanck@gmx.net> wrote:
> > |login: task ./test_signalhandler(767) looked up a bogus port 23 for3205, most probably a bug.
> 
> . o O { An absurdly far-fetched thought while browsing glibc/hurd glue
> code: if synchronous I/O is implemented as RPC on Mach ports, could
> that mean that it's technically possible to submit now and consume
> results later, for asynchronous I/O?   Possibly too
> private/undocumented anyway, and maybe they'll eventually do io_uring
> or something...  I idly wondered about driving I/O directly with ports
> while studying the dismal implementation of POSIX AIO on macOS, which
> also derives from CMU Mach, but NeXT/Apple jammed file systems down
> into the unikernel part behind traditional syscalls, and it looks like
> maybe only raw devices are accessible with ports.  (I have dim
> memories of learning C and assembler more than 30 years ago on a
> Commodore Amiga whose microkernel nee Cambridge TRIPOS worked like
> that... that cheap home computer could easily get both floppy drives
> doing random I/O at once while computing other stuff, unlike Unix...)
> }

I have CC'd Samuel Thibault who is the currently active Hurd committer/
maintainer, I hope he can comment on that.


Michael



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Add minimal sleep to stats isolation test functions.

  2. Include pg_test_timing's full output in the TAP test log.

  3. Make sure IOV_MAX is defined.

  4. Make safeguard against incorrect flags for fsync more portable.