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 A135BD1B1B7 for ; Mon, 5 Jul 2004 08:34:16 -0300 (ADT) 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 50008-03 for ; Mon, 5 Jul 2004 11:34:15 +0000 (GMT) Received: from anchor-post-37.mail.demon.net (anchor-post-36.mail.demon.net [194.217.242.86]) by svr1.postgresql.org (Postfix) with ESMTP id D7E3ED1B1B0 for ; Mon, 5 Jul 2004 08:34:10 -0300 (ADT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-37.mail.demon.net with esmtp (Exim 3.35 #1) id 1BhRjg-00084j-0b; Mon, 05 Jul 2004 12:34:13 +0100 Received: from [192.168.1.17] (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 4C4D717943; Mon, 5 Jul 2004 12:34:03 +0100 (BST) Message-ID: <40E93CAC.3000106@archonet.com> Date: Mon, 05 Jul 2004 12:34:04 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 0.7 (X11/20040615) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Bertheau Cc: pgsql-sql@postgresql.org Subject: Re: Why no exprs in format string to RAISE References: <1088976113.2767.7.camel@teetnang> In-Reply-To: <1088976113.2767.7.camel@teetnang> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/21 X-Sequence-Number: 18273 Markus Bertheau wrote: > Hi, > > is there a non-implementation reason as to why there are no expressions > allowed in the arguments to the format string to RAISE, or is that just > not implemented yet? Just not done yet AFAIK. It would require some changes to the parser for plpgsql, but nothing too extreme. Might make a good project for someone learning more about PG's code. -- Richard Huxton Archonet Ltd