> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: 07 October 2005 16:57
> To: Dave Page
> Cc: Robert Treat; pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] Vote needed: revert beta2 changes or not?
>
> "Dave Page" <dpage@vale-housing.co.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?
Oh no, what have I started!! :-)
Let's just make the change and let the few people affected modify their
scripts, otherwise this is gonna get very messy.
Thankfully I think we've all learnt from this :-)
Regards, Dave.