| From: | Melanie Plageman <melanieplageman(at)gmail(dot)com> |
|---|---|
| To: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
| Cc: | Daniel Gustafsson <daniel(at)yesql(dot)se>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: CI failure: postgres_fdw_get_connections |
| Date: | 2026-11-30 18:01:38 |
| Message-ID: | CAAKRu_b3uCQ4=4OoL6q_fAyArQAJfuVmSHNRZQ9c6BhCXyty7Q@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, Jul 16, 2026 at 11:54 AM Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>
> On Wed, Jul 15, 2026 at 11:50 PM Daniel Gustafsson <daniel(at)yesql(dot)se> 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nathan Bossart | 2026-11-30 18:13:51 | Re: Safer and simpler HTAB macros (foreach_hash and hash_make), take two |
| Previous Message | Masahiko Sawada | 2026-11-30 17:39:13 | Re: Fix LogStandbySnapshot() race during logical decoding activation |