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. Sincerely, Joshua D. Drake > -- Your PostgreSQL solutions company - Command Prompt, Inc. 1.800.492.2240 PostgreSQL Replication, Consulting, Custom Programming, 24x7 support Managed Services, Shared and Dedicated Hosting Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/ ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings