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