Re: Stored Procedure Error

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Stored Procedure Error
Дата
Msg-id 3E9B76CB.4080909@joeconway.com
обсуждение исходный текст
Ответ на Stored Procedure Error  ("Derek Hamilton" <derek@capweb.com>)
Список pgsql-admin
Derek Hamilton wrote:
> I'm getting an error attempting to run the code below.  The funny thing is,
> this code worked a few hours ago.
>
> The error is:
> WARNING: line 53 at return next
> ERROR: Set-valued function called in context that cannot accept a set
>

You haven't shown us the statement causing the error, but I'd bet you
need to do:
   select * from testFunction(1);
instead of:
   select testFunction(1);

HTH,

Joe


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

Предыдущее
От: "Derek Hamilton"
Дата:
Сообщение: Stored Procedure Error
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Stored Procedure Error