Re: SQL-Invoked Procedures for 8.1

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
Subject: Re: SQL-Invoked Procedures for 8.1
Date: 2004-10-07 22:51:38
Message-ID: 4165C87A.8000409@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gavin Sherry wrote:
> On Wed, 6 Oct 2004, Josh Berkus wrote:
>
> [snip]
>
>
>>Of course, this is as true of functions as it will be of procedures. So half
>>the functionality that I'm angling for to support with calling named params
>>could be accomplished within the context of overloading just by extending the
>>named param patch in 8.0 to cover calling functions/SPs in the format above.
>
>
> We cannot use named parameter notation with functions due to overloading.
> Disregarding the idea of default values, consider:
>
> create function foo(i int, j int) ...
> create function foo(j int, i int) ...

As I see the world ( it could be wrong ) these two functions above have
the same signature, so the second declaration shall be not allowed, do you
want put also the formal parameters names in the function signature ?
Orrible.

Regards
Gaetano Mendola

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-10-07 22:53:23 Re: [HACKERS] Call for BOFs Linux World Expo Boston
Previous Message Dave Page 2004-10-07 20:59:09 Re: Pl/perl broken on Windows