Re: Vote needed: revert beta2 changes or not?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: "Rod Taylor" <pg(at)rbt(dot)ca>, pgsql-hackers(at)postgresql(dot)org, "Robert Treat" <xzilla(at)users(dot)sourceforge(dot)net>, "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Subject: Re: Vote needed: revert beta2 changes or not?
Date: 2005-10-07 18:26:13
Message-ID: 6257.1128709573@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Magnus Hagander" <mha(at)sollentuna(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2005-10-07 18:29:59 Re: Vote needed: revert beta2 changes or not?
Previous Message Tom Lane 2005-10-07 18:22:50 Re: GRANT/roles problem: grant is shown as from login role