Re: Passing result of multirow subquery to C function

Поиск
Список
Период
Сортировка
От David Johnston
Тема Re: Passing result of multirow subquery to C function
Дата
Msg-id 1388507049253-5784915.post@n5.nabble.com
обсуждение исходный текст
Ответ на Passing result of multirow subquery to C function  (Magnus Persson <magnus.e.persson@gmail.com>)
Ответы Re: Passing result of multirow subquery to C function
Список pgsql-novice
Select hello(name) from names

You can only pass a single row to a function.  A work around is to use
arrays but for your example the above form is what you would do and is
typical of function usage in a table context.

David J.



--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Passing-result-of-multirow-subquery-to-C-function-tp5784914p5784915.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.


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

Предыдущее
От: Magnus Persson
Дата:
Сообщение: Passing result of multirow subquery to C function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Passing result of multirow subquery to C function