Re: Allow escape in application_name - Mailing list pgsql-hackers

From Kyotaro Horiguchi
Subject Re: Allow escape in application_name
Date
Msg-id 20220104.140357.1242115726266857824.horikyota.ntt@gmail.com
Whole thread Raw
List pgsql-hackers
At Tue, 4 Jan 2022 12:36:32 +0900, Masahiko Sawada <sawada.mshk@gmail.com> wrote in 
> On Tue, Jan 4, 2022 at 12:05 PM Kyotaro Horiguchi
> <horikyota.ntt@gmail.com> wrote:
> > pg_terminate_backend returns just after kill() returns. So I'm afraid
> > that there's a case where the next access to ft6 happens before the
> > old connection actually ends on slow machines or under heavy load.
> 
> The test does pg_terminate_backend() with a timeout, and in this case,
> don't we wait for the backend to end after sending the signal?

Oops! I missed that part. I agree that it works. Thanks!

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: row filtering for logical replication
Next
From: Peter Smith
Date:
Subject: Re: Inconsistent ellipsis in regression test error message?