From: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | Ralph Smith <rsmith(at)10kinfo(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: If I don't want Function overloading... |
Date: | 2010-10-08 03:37:01 |
Message-ID: | AANLkTi=7DKiNVQ6Y-z2uM7u7fgj+-g5cS9=YTmCetRmN@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Oct 7, 2010 at 8:36 PM, Ralph Smith <rsmith(at)10kinfo(dot)com> 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2010-10-08 03:49:54 | Re: setting application name post connection |
Previous Message | Rajesh Kumar Mallah | 2010-10-08 03:33:20 | setting application name post connection |