X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E8A3FD1D168 for ; Wed, 17 Mar 2004 09:27:57 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 18743-08 for ; Wed, 17 Mar 2004 05:27:56 -0400 (AST) Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by svr1.postgresql.org (Postfix) with ESMTP id 82EBCD1CCB1 for ; Wed, 17 Mar 2004 05:27:54 -0400 (AST) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 1B3XL8-0006Fi-0W; Wed, 17 Mar 2004 09:27:54 +0000 Received: by mainbox.archonet.com (Postfix, from userid 529) id BA47A179D5; Wed, 17 Mar 2004 09:27:53 +0000 (GMT) Received: from client17.archonet.com (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id CB353165D9; Wed, 17 Mar 2004 09:27:51 +0000 (GMT) From: Richard Huxton To: "David Olbersen" , Subject: Re: Line length in pl/pgsql function Date: Wed, 17 Mar 2004 09:27:50 +0000 User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403170927.50757.dev@archonet.com> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.15.3 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/184 X-Sequence-Number: 17283 On Wednesday 17 March 2004 00:47, David Olbersen wrote: > > Here's the "clean" code that doesn't work: > > FOR result IN > SELECT > initcap( c.name ) AS category, > initcap( l.language ) AS language, > count(*) AS howmany [etc] I don't suppose your actual code has any comments in it? I stumbled across an obscure parser issue in plpgsql regarding comments/line-endings and I think that was somewhere in 7.3.x Might be worth a quick look in the -bugs list archives and see if anything looks like your problem. -- Richard Huxton Archonet Ltd