Re: Calling PL functions with named parameters - Mailing list pgsql-hackers

From Gaetano Mendola
Subject Re: Calling PL functions with named parameters
Date
Msg-id 411DCD1B.6030208@bigfoot.com
Whole thread Raw
In response to Re: Calling PL functions with named parameters  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: Calling PL functions with named parameters  (Oliver Jowett <oliver@opencloud.com>)
List 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









pgsql-hackers by date:

Previous
From: Gaetano Mendola
Date:
Subject: Re: Calling PL functions with named parameters
Next
From: Peter Eisentraut
Date:
Subject: Re: Why is WIN 1250 client only?