Re: function INPUT as whole table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: function INPUT as whole table
Дата
Msg-id 354524.1623764008@sss.pgh.pa.us
обсуждение исходный текст
Ответ на function INPUT as whole table  (Yambu <hyambu@gmail.com>)
Список pgsql-sql
Yambu <hyambu@gmail.com> writes:
> Is it possible to have as input to a function , a whole table contents,  if
> the table is a small lookup table?

Not directly, but you might be able to achieve the effect by opening a
cursor and passing the cursor name to the function, which could fetch
from it.  See the examples in the cursor section of the plpgsql manual.

            regards, tom lane



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: function INPUT as whole table
Следующее
От: Viswanatha Sastry
Дата:
Сообщение: Re: function INPUT as whole table