Re: Allow escape in application_name
Re: Allow escape in application_name
От:
Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Дата:
At Tue, 4 Jan 2022 12:36:32 +0900, Masahiko Sawada wrote in > On Tue, Jan 4, 2022 at 12:05 PM Kyotaro Horiguchi > 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