X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B193454F6A for ; Fri, 11 Mar 2005 12:47:05 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 14946-08 for ; Fri, 11 Mar 2005 12:46:56 +0000 (GMT) Received: from a2s1.a2webhosting.com (host-180.a2webhosting.com [69.39.89.180]) by svr1.postgresql.org (Postfix) with ESMTP id D94FA5645E for ; Fri, 11 Mar 2005 12:46:55 +0000 (GMT) Received: from user-11217ah.dsl.mindspring.com ([66.32.157.81] helo=[192.168.1.10]) by a2s1.a2webhosting.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.44) id 1D9jXf-0006JR-2y; Fri, 11 Mar 2005 07:46:59 -0500 In-Reply-To: <423178FC.3050107@gmail.com> References: <423178FC.3050107@gmail.com> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <9ECE66EE-922B-11D9-B332-000A95B03262@pgedit.com> Content-Transfer-Encoding: 7bit Cc: pgsql-sql@postgresql.org From: John DeSoi Subject: Re: pl/pgsql problem with return types Date: Fri, 11 Mar 2005 07:46:42 -0500 To: Juris Zeltins X-Mailer: Apple Mail (2.619) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s1.a2webhosting.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - pgedit.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/161 X-Sequence-Number: 20640 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