Re: pgsql/src backend/tcop/postgres.c include/misc ... - Mailing list pgsql-committers

From Hiroshi Inoue
Subject Re: pgsql/src backend/tcop/postgres.c include/misc ...
Date
Msg-id 3C367AF3.224D821D@tpf.co.jp
Whole thread Raw
In response to pgsql/src backend/tcop/postgres.c include/misc ...  (tgl@postgresql.org)
List pgsql-committers
Tom Lane wrote:
>
> Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> > Does this change also affect the SIGTERM handling
> > (not only query-cancel) ?
>
> Yes.  Cancel and die interrupts are accepted at the same places.

Cancel interrupts are accepted at CHECK_FOR_INTERRUPTS
or while waiting for a lock.
Die interrupts are accepted at CHECK_FOR_INTERRUPTS or
at the time when they are received while interrupts
are allowed. Is my understanding right ? If so, isn't
it strange ?

regards,
Hiroshi Inoue

pgsql-committers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: pgsql/src backend/tcop/postgres.c include/misc ...
Next
From: Tom Lane
Date:
Subject: Re: pgsql/src backend/tcop/postgres.c include/misc ...