Re: Function with DEFAULT arguments

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Function with DEFAULT arguments
Дата
Msg-id 10999.1268412700@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Function with DEFAULT arguments  ("dario.ber@libero.it" <dario.ber@libero.it>)
Ответы Re: Function with DEFAULT arguments  (Scott Bailey <artacus@comcast.net>)
Список pgsql-general
"dario.ber@libero.it" <dario.ber@libero.it> writes:
> I'm trying to use the DEFAULT option to pass parameters to the arguments of a
> function.
> When I call that function, how can I change the default value of some
> arguments and leave as default the value of other arguments?

You can only omit arguments from right to left, so basically what this
requires is some foresight while choosing the function's argument order.

            regards, tom lane

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

Предыдущее
От: "dario.ber@libero.it"
Дата:
Сообщение: R: Re: Function with DEFAULT arguments
Следующее
От: Scott Bailey
Дата:
Сообщение: Re: Function with DEFAULT arguments