Re: SQL-Invoked Procedures for 8.1 - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: SQL-Invoked Procedures for 8.1
Date
Msg-id 416568C4.6070500@dunslane.net
Whole thread Raw
In response to Re: SQL-Invoked Procedures for 8.1  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers

Peter Eisentraut wrote:

>Gavin Sherry wrote:
>  
>
>>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) ...
>>    
>>
>
>That just means we cannot use the parameter name as a distinguishing 
>factor in the overloading scheme.  Which certainly makes a lot of sense 
>to me.
>  
>

To me too, It is not at all uncommon to disambiguate on the basis of the 
parameter type profile, and ignore for this purpose the formal names.

cheers

andrew


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: SQL-Invoked Procedures for 8.1
Next
From: Andrew Sullivan
Date:
Subject: Re: signal 11 on AIX: 7.4.2