Re: Proposal: OUT parameters for plpgsql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Proposal: OUT parameters for plpgsql
Дата
Msg-id 3593.1111454999@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Proposal: OUT parameters for plpgsql  (Gavin Sherry <swm@linuxworld.com.au>)
Ответы Re: Proposal: OUT parameters for plpgsql  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Gavin Sherry <swm@linuxworld.com.au> writes:
>> Tom Lane <tgl@sss.pgh.pa.us> writes:
>>> (When there is just one, should the default be to return that type
>>> rather than a one-column RECORD?)

> ANSI SQL allows at most one OUT parameter for a function (which can be
> used instead of having the function return a value via the usual means).

OK, so that answers my question above: a single OUT parameter should be
equated to an ordinary return value, not a RECORD, so as to emulate this
aspect of the spec.
        regards, tom lane


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

Предыдущее
От: Gavin Sherry
Дата:
Сообщение: Re: Proposal: OUT parameters for plpgsql
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Proposal: OUT parameters for plpgsql