Re: shmem_startup_hook called twice on Windows

From: Sami Imseih <samimseih(at)gmail(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: shmem_startup_hook called twice on Windows
Date: 2025-09-08 21:31:43
Message-ID: CAA5RZ0umz=q7QX1MoDUuz=uuhoc79x5Ec99Vv31kHKae1oTX2Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I quickly put together a patch for the stuff we've discussed in this
> thread. WDYT?
>
> --
> nathan

I still think we need to mention EXEC_BACKEND somehow.
The way it's done in [0], it says "On Windows (and anywhere else
where EXEC_BACKEND is defined)"

So we do have precedent of mentioning EXEC_BACKEND in docs,
and it’s clearer than the ambiguity of saying
'on some builds'/'in other builds'.

[0] https://www.postgresql.org/docs/current/bgworker.html

--
Sami

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2025-09-08 21:34:30 Re: Should io_method=worker remain the default?
Previous Message Nathan Bossart 2025-09-08 21:10:08 Re: shmem_startup_hook called twice on Windows