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