Received: from sss.pgh.pa.us (sss-backup.pgh.pa.us [216.151.103.158]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9UMKeP61216 for ; Tue, 30 Oct 2001 17:20:40 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id f9UMKWc04988; Tue, 30 Oct 2001 17:20:32 -0500 (EST) To: Torbj=?ISO-8859-1?B?9g==?=rn Andersson cc: pgsql-sql@postgresql.org Subject: Re: Strange loop In-reply-to: References: Comments: In-reply-to Torbj=?ISO-8859-1?B?9g==?=rn Andersson message dated "Tue, 30 Oct 2001 22:05:15 +0100" Date: Tue, 30 Oct 2001 17:20:31 -0500 Message-ID: <4985.1004480431@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200110/425 X-Sequence-Number: 5376 Torbj=?ISO-8859-1?B?9g==?=rn Andersson writes: > I need some help with the function below. My intention is to hand the > content of result_store and sort it out so that I can have a complete > recordset. But for some reason result_store is returned empty. It works fine > for one row but the concatenation of result_store and result does not seem > to work. Try initializing result_store to something other than NULL ... regards, tom lane