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 12AF252982 for ; Wed, 20 Jul 2005 04:21:38 -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 96615-08 for ; Wed, 20 Jul 2005 07:21:31 +0000 (GMT) Received: from krogh.officenet.no (cC30128B2.xdsl.catch.no [195.1.40.178]) by svr1.postgresql.org (Postfix) with ESMTP id 48A3C529AD for ; Wed, 20 Jul 2005 04:21:30 -0300 (ADT) Received: from krogh.officenet.no (krogh.officenet.no [127.0.0.1]) by krogh.officenet.no (Postfix) with ESMTP id 4391C5C931 for ; Wed, 20 Jul 2005 09:21:28 +0200 (CEST) From: Andreas Joseph Krogh Organization: OfficeNet AS To: pgsql-sql@postgresql.org Subject: Re: echo/printf function in plpgsql Date: Wed, 20 Jul 2005 09:21:26 +0200 User-Agent: KMail/1.7.2 References: <200507191651.28648.andreak@officenet.no> <200507191758.05273.andreak@officenet.no> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507200921.26644.andreak@officenet.no> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200507/173 X-Sequence-Number: 22151 On Wednesday 20 July 2005 01:39, John DeSoi wrote: > On Jul 19, 2005, at 11:58 AM, Andreas Joseph Krogh wrote: > > I see. Can I make the ouput somehow less verbose? It spits out a > > lot of noise > > for each "NOTICE": > > If you just want to output some information to the log, you can use > something like this: > > raise log 't is %', t; > > If I recall correctly, the values to be inserted into the format > string can only be variables, not expressions. Thanks! -- AJK