Re: pl/pgsql problem with return types

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: pl/pgsql problem with return types
Дата
Msg-id 9ECE66EE-922B-11D9-B332-000A95B03262@pgedit.com
обсуждение исходный текст
Ответ на pl/pgsql problem with return types  (Juris Zeltins <juris.zeltins@gmail.com>)
Ответы Re: pl/pgsql problem with return types  (Juris Zeltins <juris.zeltins@gmail.com>)
Список pgsql-sql
On Mar 11, 2005, at 5:54 AM, Juris Zeltins wrote:

>    FOR P IN select pageid from pages
>

This way you are only getting the pageid column. I think what you want 
is

FOR P in select * from pages

so that P contains the complete pages record.


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL



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

Предыдущее
От: "ALÝ ÇELÝK"
Дата:
Сообщение: more execution time
Следующее
От: Juris Zeltins
Дата:
Сообщение: Re: pl/pgsql problem with return types