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 650DF528A6 for ; Tue, 19 Jul 2005 20:40:02 -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 00557-06 for ; Tue, 19 Jul 2005 23:39:52 +0000 (GMT) Received: from a2s4.a2hosting.com (a2s4.a2hosting.com [64.9.205.220]) by svr1.postgresql.org (Postfix) with ESMTP id 75FAE5285B for ; Tue, 19 Jul 2005 20:39:51 -0300 (ADT) Received: from user-11204de.dsl.mindspring.com ([66.32.17.174] helo=[192.168.1.10]) by a2s4.a2hosting.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.51) id 1Dv1gn-0004oF-6w; Tue, 19 Jul 2005 19:39:53 -0400 In-Reply-To: <200507191758.05273.andreak@officenet.no> References: <200507191651.28648.andreak@officenet.no> <42DD19DE.60106@archonet.com> <200507191758.05273.andreak@officenet.no> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: pgsql-sql@postgresql.org Content-Transfer-Encoding: 7bit From: John DeSoi Subject: Re: echo/printf function in plpgsql Date: Tue, 19 Jul 2005 19:39:47 -0400 To: Andreas Joseph Krogh X-Mailer: Apple Mail (2.730) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s4.a2hosting.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - pgedit.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.012 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/172 X-Sequence-Number: 22150 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. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL