Search Postgresql Archives

Re: If I don't want Function overloading...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 7, 2010 at 8:36 PM, Ralph Smith <rsmith@xxxxxxxxxxx> wrote:
> Yes, I'm using 7.4,12, I can't help it.
> Is there a way to get the count of parameters to avoid overloading?

Considering you can overload like this:

functioname(arg1 int, arg2 int)
functioname(arg1 text, arg2 bigint)

and so on, parameter count won't get you out of it.

Why avoiding overloading?  You could put arg/count info in the name,
then they'd be uniquely named and obvious for what they do, if
awkwardly named.

>
> Thanks!
> --
> ï Ralph Smith
> Data Architech



-- 
To understand recursion, one must first understand recursion.

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux