Re: Vote needed: revert beta2 changes or not? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Vote needed: revert beta2 changes or not?
Date
Msg-id 6257.1128709573@sss.pgh.pa.us
Whole thread Raw
In response to Re: Vote needed: revert beta2 changes or not?  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-hackers
"Magnus Hagander" <mha@sollentuna.net> writes:
>> I could vote for:
>> 
>> bool pg_query_cancel(int)
>> 
>> backend_cancel or cancel_backend sounds like it should 
>> terminate the entire backend like kill -TERM would do.

> IIRC, the original discussion had a possible pg_query_cancel(int)
> functoin that would cancel a query based on XID or something like that,
> and we wanted to differentiate from that. (No such function was ever
> created, but it was the reason, IIRC)

Right.  Rod's suggestion is superficially more logical, but it doesn't
fit into the plans for future extension of the capability.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: GRANT/roles problem: grant is shown as from login role
Next
From: "Dave Page"
Date:
Subject: Re: Vote needed: revert beta2 changes or not?