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

From Tom Lane
Subject Re: pgsql/src backend/tcop/postgres.c include/misc ...
Date
Msg-id 9579.1010203698@sss.pgh.pa.us
Whole thread Raw
In response to pgsql/src backend/tcop/postgres.c include/misc ...  (tgl@postgresql.org)
List pgsql-committers
Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> 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 ?

No, I don't think so.  Both types of interrupts can be honored during
the signal handler only if ImmediateInterruptOK is true.  It is true
*only* while waiting for a lock or while waiting for client input.

            regards, tom lane

pgsql-committers by date:

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