Re: Confused about a function returning SETOF

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Confused about a function returning SETOF
Дата
Msg-id 9858.1143000732@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Confused about a function returning SETOF  ("Ken Winter" <ken@sunward.org>)
Ответы Re: Confused about a function returning SETOF  ("Ken Winter" <ken@sunward.org>)
Список pgsql-general
"Ken Winter" <ken@sunward.org> writes:
> select lov_personinorganization_role_status('Student','Applicant');
> ERROR:  set-valued function called in context that cannot accept a set

You need to write
  select * from lov_personinorganization_role_status('Student','Applicant');

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How I can get the real data type result instead of
Следующее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: PANIC: heap_update_redo: no block