Re: cancel request in progress - Mailing list pgsql-novice

From Tom Lane
Subject Re: cancel request in progress
Date
Msg-id 28615.1065204139@sss.pgh.pa.us
Whole thread Raw
In response to cancel request in progress  ("M. Bastin" <marcbastin@mindspring.com>)
List pgsql-novice
"M. Bastin" <marcbastin@mindspring.com> writes:
> I'm trying to implement the "cancel request in progress" (protocol
> 2.0, pgsql 7.3.3), but queries complete regardless.

> I'm trying it on short queries, which return about 600 rows.  Would
> this only work on behemot queries?

It's certainly possible that the backend has already completed the query
before the cancel gets there.  Try a bigger test case.

            regards, tom lane

pgsql-novice by date:

Previous
From: "M. Bastin"
Date:
Subject: cancel request in progress
Next
From: Nabil Sayegh
Date:
Subject: Re: plperl db crash