Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id BC7DE1337B83 for ; Mon, 7 Mar 2011 11:05:04 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 38467-01-7 for ; Mon, 7 Mar 2011 15:04:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id C5EA31337BE2 for ; Mon, 7 Mar 2011 11:04:50 -0400 (AST) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Mon, 07 Mar 2011 09:04:51 -0600 Message-Id: <4D749FAF020000250003B563@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Mon, 07 Mar 2011 09:04:47 -0600 From: "Kevin Grittner" To: "Lukasz Brodziak" , "Guillaume Lelarge" Cc: Subject: Re: Unable to create function via psql References: <4D74A5E9.7070906@lelarge.info> <4D74B72E.20405@lelarge.info> <4D74BC03.2020101@lelarge.info> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/76 X-Sequence-Number: 36948 Lukasz Brodziak wrote: > Still don't why the problem with the function occurs only when the > script is ran through psql and not through pgAdmin. It would help if you could provide a self-contained psql test script which demonstrates the problem. If the function is large, it would be good to pare it down to the smallest function which still shows the problem. -Kevin