Re: shmem_startup_hook called twice on Windows

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Sami Imseih <samimseih@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-09-09T19:41:53Z
Lists: pgsql-hackers
On Mon, Sep 08, 2025 at 04:57:19PM -0500, Sami Imseih wrote:
> v2 LGTM.

Committed, thanks for reviewing.  I ended up only back-patching the
documentation fix, as the test_slru bug is pretty innocuous.

-- 
nathan



Commits

  1. Fix documentation for shmem_startup_hook.

  2. test_slru: Fix LWLock tranche allocation in EXEC_BACKEND builds.

  3. doc: Reorganize section for shared memory and LWLocks.

  4. Refactor CreateSharedMemoryAndSemaphores