Re: Logical replication launcher did not automatically restart when got SIGKILL - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Logical replication launcher did not automatically restart when got SIGKILL
Date
Msg-id CAHGQGwF8nFf9+fDiVR4nW_DCgn_bceaQ33cB=xVA3SiG923ciw@mail.gmail.com
Whole thread Raw
In response to Re: Logical replication launcher did not automatically restart when got SIGKILL  ("cca5507" <cca5507@qq.com>)
Responses Re: Logical replication launcher did not automatically restart when got SIGKILL
List pgsql-hackers
On Sat, Jul 26, 2025 at 6:27 PM cca5507 <cca5507@qq.com> wrote:
>
> Hi,
>
> The test case seems to have a problem:
>
> We cannot ensure that the SELECT happens after the pg_stat_activity can show the logical replication launcher.

Thanks for the review! You're right. We should use poll_query_until()
instead of safe_psql() to handle this properly.
I've attached an updated patch with that change.

Regards,

--
Fujii Masao

Attachment

pgsql-hackers by date:

Previous
From: Robert Treat
Date:
Subject: Re: Adding REPACK [concurrently]
Next
From: Fujii Masao
Date:
Subject: Re: Adding REPACK [concurrently]