Re: pgsql/src backend/tcop/postgres.c include/misc ...

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql/src backend/tcop/postgres.c include/misc ...
Date: 2002-01-05 04:34:20
Message-ID: 3C36824C.3C7ADE4@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Tom Lane wrote:
>
> Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)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.

Oh I see. But this seems to change the behabior significantly
at least for die signals.

regards,
Hiroshi Inoue

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2002-01-05 04:35:25 Re: pgsql/src backend/tcop/postgres.c include/misc ...
Previous Message Tom Lane 2002-01-05 04:08:18 Re: pgsql/src backend/tcop/postgres.c include/misc ...