From: John DeSoi <desoi@pgedit.com>
To: Juris Zeltins <juris.zeltins@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: pl/pgsql problem with return types
Date: Fri, 11 Mar 2005 07:46:42 -0500
Message-ID: <9ECE66EE-922B-11D9-B332-000A95B03262@pgedit.com> (raw)
In-Reply-To: <423178FC.3050107@gmail.com>
References: <423178FC.3050107@gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: desoi@pgedit.com, juris.zeltins@gmail.com
Subject: Re: pl/pgsql problem with return types
In-Reply-To: <9ECE66EE-922B-11D9-B332-000A95B03262@pgedit.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox