Skip site navigation (1) Skip section navigation (2)

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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql/src backend/tcop/postgres.c include/misc ...
Date: 2002-01-05 04:08:18
Message-ID: 9579.1010203698@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-committers
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.

			regards, tom lane

In response to

Responses

pgsql-committers by date

Next:From: Hiroshi InoueDate: 2002-01-05 04:34:20
Subject: Re: pgsql/src backend/tcop/postgres.c include/misc ...
Previous:From: momjianDate: 2002-01-05 04:03:47
Subject: pgsql/doc TODO

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group