Re: Allow escape in application_name

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: sawada(dot)mshk(at)gmail(dot)com
Cc: masao(dot)fujii(at)oss(dot)nttdata(dot)com, kuroda(dot)hayato(at)fujitsu(dot)com, houzj(dot)fnst(at)fujitsu(dot)com, ikedamsh(at)oss(dot)nttdata(dot)com, pgsql-hackers(at)lists(dot)postgresql(dot)org, tgl(at)sss(dot)pgh(dot)pa(dot)us
Subject: Re: Allow escape in application_name
Date: 2022-01-04 05:03:57
Message-ID: 20220104.140357.1242115726266857824.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At Tue, 4 Jan 2022 12:36:32 +0900, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote in
> On Tue, Jan 4, 2022 at 12:05 PM Kyotaro Horiguchi
> <horikyota(dot)ntt(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2022-01-04 06:03:18 Re: Inconsistent ellipsis in regression test error message?
Previous Message Peter Smith 2022-01-04 04:55:11 Re: row filtering for logical replication