On Thu, Jul 16, 2026 at 11:54 AM Fujii Masao <[email protected]> wrote: > > On Wed, Jul 15, 2026 at 11:50 PM Daniel Gustafsson <[email protected]> wrote: > > > > > Barring any objections, I will commit this patch and backpatch it to v18, > > > where the affected postgres_fdw_get_connections() test was added. > > > > LGTM. I'm not sure we need the timeout on pg_terminate_backend? That's > > however not introduced with this patch, the postgres_fdw tests already use a > > 180s timeout, so keeping it consistent with the rest of the test code seems > > correct. > > Thanks for the review! I've pushed the patch.
I saw a similar failure in the 32-bit CI job in my fork of Postgres, this time in the live-connection check immediately before pg_terminate_backend(). This is with a704d0367a4 applied. The diff was: server_name | closed | remote_backend_pid -------------+--------+-------------------- - loopback | f | t -(1 row) +(0 rows) I think the same race is possible one statement earlier. I haven't investigated further, though. - Melanie
