Re: PL/pgSQL 1.2

Поиск
Список
Период
Сортировка
От Joel Jacobson
Тема Re: PL/pgSQL 1.2
Дата
Msg-id -8928095228137475260@iso-8859-1msgid
обсуждение исходный текст
Ответ на Re: PL/pgSQL 1.2  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers


On 4 sep 2014, at 11:42, Pavel Stehule <pavel.stehule@gmail.com> wrote:
2014-09-04 11:22 GMT+02:00 Joel Jacobson <joel@trustly.com>:
The point was, RETURNS returns 1 while RETURNS SETOF returns 0 .. n.

no RETURNS return "VALUE" (it is not a row) .. and in combination with SELECT - value will be a row. RETURNS SETOF returns rows

I intentionally excluded the data type of what is returned.
1 "VALUE" vs 0...n "VALUES"
Do you still fail to see the point 1 "VALUE" is special in the context of what a function returns?

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: PL/pgSQL 1.2
Следующее
От: Robert Haas
Дата:
Сообщение: Re: PQputCopyEnd doesn't adhere to its API contract