Re: Problem with plpgsql function

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Problem with plpgsql function
Дата
Msg-id 4006E059.7030802@joeconway.com
обсуждение исходный текст
Ответ на Problem with plpgsql function  (Chris Bowlby <excalibur@hub.org>)
Ответы Re: Problem with plpgsql function
Список pgsql-sql
Chris Bowlby wrote:
> select get_account_info('test.com');
> 
>  I get this error:
> 
> ERROR:  set-valued function called in context that cannot accept a set

This is the "classic" SRF error -- you need to use an SRF like a 
relation in the FROM clause, so do this instead:
  select * FROM get_account_info('test.com');

HTH,

Joe




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

Предыдущее
От: Chris Bowlby
Дата:
Сообщение: Problem with plpgsql function
Следующее
От: Chris Bowlby
Дата:
Сообщение: Re: Problem with plpgsql function