On Fri, 7 Oct 2005, Joshua D. Drake wrote:

On Fri, 2005-10-07 at 12:08 -0400, Alvaro Herrera wrote:
On Fri, Oct 07, 2005 at 11:56:50AM -0400, Tom Lane wrote:

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?

+1

I would vote for this "if" we deprecate the old one and say that it will
be removed for 8.2.

Agreed 100% ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]           Yahoo!: yscrappy              ICQ: 7615664

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to