Re: SQL-Invoked Procedures for 8.1

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: SQL-Invoked Procedures for 8.1
Дата
Msg-id 416568C4.6070500@dunslane.net
обсуждение исходный текст
Ответ на Re: SQL-Invoked Procedures for 8.1  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SQL-Invoked Procedures for 8.1
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: signal 11 on AIX: 7.4.2