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 3C36A020.2C3B1251@tpf.co.jp
Whole thread Raw
In response to pgsql/src backend/tcop/postgres.c include/misc ...  (tgl@postgresql.org)
Responses Re: pgsql/src backend/tcop/postgres.c include/misc ...
List pgsql-committers
Tom Lane wrote:
>
> Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> > When are cancel or die interrupts accepted while
> > executing a long query ?
>
> CHECK_FOR_INTERRUPTS() calls.  The call in ExecProcNode should alone
> suffice for most queries, I think.

I couldn't cancel VACUUM using current cvs.
I couldn't cancel simple SELECT which returns no row either.
...

IIRC cancel interrupts before 7.1 was so but die interrupts
has never been so.

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 ...