Re: WIP: default values for function parameters

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: WIP: default values for function parameters
Дата
Msg-id 162867790812110706q16d5a010kb104c6311ee49539@mail.gmail.com
обсуждение исходный текст
Ответ на Re: WIP: default values for function parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
2008/12/11 Tom Lane <tgl@sss.pgh.pa.us>:
> "Pavel Stehule" <pavel.stehule@gmail.com> writes:
>> what do you thing about?
>
>> select fce(p1,p2,p3, SET paramname1 = val, paramname2 = val)
>
> I'm not really seeing any redeeming social value in that.  It's more
> keystrokes than the other; and if you dislike AS because of possible
> confusion with other usages then surely the same objection applies to
> SET.
>

true, it's nothing nice. There is only small set of short keyword

Zdenek Kotala's proposals is using

$name = value, ...
but I afraid so it could do some problems with prepared statements in future :(

Pavel


>                        regards, tom lane
>


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

Предыдущее
От: Aidan Van Dyk
Дата:
Сообщение: Re: Sync Rep: First Thoughts on Code
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Updates of SE-PostgreSQL 8.4devel patches (r1268)