Re: plpgsql: defuault parameters and constant function parameters

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: plpgsql: defuault parameters and constant function parameters
Дата
Msg-id 200709182325.12677.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: plpgsql: defuault parameters and constant function parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: plpgsql: defuault parameters and constant function parameters  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-interfaces
Tom Lane wrote:
> It's easier if the defaultable parameters are at the end, but I
> rather wonder how your informix system is disambiguating the calls
> either with a signature like that.  If you leave off just one of the
> two defaultable parameters, how does it know which?

Several other SQL systems allow naming the parameters in calls, such as

CALL foo(a = 1, b = 2)

That's the only way to stay sane with function having 20 or more 
parameters anyway.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Robert Ayrapetyan
Дата:
Сообщение: Problem with getting static libpq.a from PostgresSQL 8.2.4 sources using MinGW
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: plpgsql: defuault parameters and constant function parameters