Re: Calling PL functions with named parameters

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Subject: Re: Calling PL functions with named parameters
Date: 2004-08-14 08:28:11
Message-ID: 411DCD1B.6030208@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Oliver Jowett wrote:

> Gaetano Mendola wrote:
>
>> Oliver Jowett wrote:
>>
>>> David Fetter wrote:
>>>
>>>> Dennis has pointed out that mixing the call-with-named-parameter
>>>> interface with call-by-order-of-parameters one would cause confusion,
>>>
>>>
>>> Python's equivalent syntax allows you to mix the two forms so long as
>>> all the by-position parameters come first:
>>>
>> python don't have overloaded functions...
>
>
> It doesn't change how you'd handle overloaded functions; you still have
> a type for every parameter available.

I think will be a mess that will break the "minor surprise" principle,
even the bad C++ stays away from this field ( se explicit constructors,
and automatic cast limited to only one level ).

I know I know the Koenig Lookup is there as a Damocle's sword...

Regards
Gaetano Mendola

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2004-08-14 08:34:38 Re: Turkish downcasting in PL/pgSQL
Previous Message Peter Eisentraut 2004-08-14 08:21:33 Re: Turkish downcasting in PL/pgSQL