From: | Rod Taylor <pg(at)rbt(dot)ca> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | 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 16:22:14 |
Message-ID: | 1128702134.1140.337.camel@home |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, 2005-10-07 at 11:56 -0400, Tom Lane wrote:
> "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk> writes:
> >> Also they
> >> don't need to modify
> >> scripts, can't they just write thier own pg_cacnel_backend to
> >> return int
> >> based on the boolean version?
>
> > No, because you can't overload based purely on return type. I suppose
> > they could write it to take an int8 pid or something, but that's a hack.
>
> Well, how many people want to vote for Andreas' suggestion of having
> both
>
> int pg_cancel_backend(int)
> bool pg_backend_cancel(int)
>
> with the former deprecated but still there for backward compatibility?
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.
--
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2005-10-07 16:29:52 | Re: Vote needed: revert beta2 changes or not? |
Previous Message | Joshua D. Drake | 2005-10-07 16:19:21 | Re: Vote needed: revert beta2 changes or not? |