I can reproduce the bug on the master branch with the following steps:
1. Apply 0001-XXX-Dirty-hack-to-clobber-control-file-for-testing.patch [1]
2. Compile PostgreSQL with `-DEXEC_BACKEND` C compiler flag option.
3. Run `initdb`
4. Run `postgres`
5. Run `pgbench -i`
6. Run `psql -c 'do $$ begin l
.
From 91eab4909b76adf13cb8961ba1f3b5616e895e0e Mon Sep 17 00:00:00 2001
From: Ivan Kovmir
Date: Thu, 13 Nov 2025 14:49:29 +0100
Subject: [PATCH 1/1] Explain possible shared memory re-attach failure
---
src/backend/port/win32_shmem.c | 4
1 file changed, 4 insertions(+)
diff --git a/src
chance to push it upstream?
Overall thoughts?
From 97b35aa15902a9b055475fdfb016547096a43667 Mon Sep 17 00:00:00 2001
From: Ivan Kovmir
Date: Mon, 29 Sep 2025 15:53:00 +0200
Subject: [PATCH 1/1] Change bound network interfaces without restart
Assign a different GUC `listen_addresses` value and send