Re: plpgsql arrays

Поиск
Список
Период
Сортировка
От justin
Тема Re: plpgsql arrays
Дата
Msg-id 49DB700F.8020108@emproshunts.com
обсуждение исходный текст
Ответ на Re: plpgsql arrays  (Matthew Wakeling <matthew@flymine.org>)
Ответы Re: plpgsql arrays  (Matthew Wakeling <matthew@flymine.org>)
Список pgsql-performance
Matthew Wakeling wrote:
> What would be the syntax for putting a single row from a cursor into a
> variable? I have tried:
>
> FETCH INTO left left_cursor;
>
> which says syntax error, and
>
> left = FETCH left_cursor;
>
> which gives the error 'ERROR:  missing datatype declaration at or near
> "="'
>
> Matthew
>

Have to declare Left variable  as record data type declaration part of
the function


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

Предыдущее
От: Matthew Wakeling
Дата:
Сообщение: Re: plpgsql arrays
Следующее
От: Matthew Wakeling
Дата:
Сообщение: Re: plpgsql arrays