Received: from ece.rice.edu (ece.rice.edu [128.42.4.34]) by postgresql.org (Postfix) with ESMTP id A4B14475D22; Tue, 19 Mar 2002 17:12:16 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by ece.rice.edu (Postfix) with ESMTP id 76ABF68A83; Tue, 19 Mar 2002 16:12:16 -0600 (CST) Received: from wallace.ece.rice.edu (wallace.ece.rice.edu [128.42.12.154]) by ece.rice.edu (Postfix) with ESMTP id 392D568A80; Tue, 19 Mar 2002 16:12:15 -0600 (CST) Received: from reedstrm by wallace.ece.rice.edu with local (Exim 3.34 #1 (Debian)) id 16nRq3-0000NY-00; Tue, 19 Mar 2002 16:12:15 -0600 Date: Tue, 19 Mar 2002 16:12:14 -0600 From: "Ross J. Reedstrom" To: Jean-Luc Lachance Cc: Bruce Momjian , pgsql-sql@postgresql.org, pgsql-general@postgresql.org Subject: Re: How to create crude report with psql and/or plpgsql Message-ID: <20020319221214.GA1363@rice.edu> Mail-Followup-To: "Ross J. Reedstrom" , Jean-Luc Lachance , Bruce Momjian , pgsql-sql@postgresql.org, pgsql-general@postgresql.org References: <200203191918.g2JJIEO28898@candle.pha.pa.us> <3C9794BC.EB5A6597@nsd.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C9794BC.EB5A6597@nsd.ca> User-Agent: Mutt/1.3.27i X-Virus-Scanned: by AMaViS snapshot-20010714 X-Archive-Number: 200203/247 X-Sequence-Number: 7126 On Tue, Mar 19, 2002 at 02:42:52PM -0500, Jean-Luc Lachance wrote: > Well, count my vote. > Any body else who see the usefullness of a PRINT statement? what's wrong with: $ psql -t -c "select 'Hello World!'" template1 Hello World! $ > Bruce Momjian wrote: > > > > Jean-Luc Lachance wrote: > > > Hello Bruce, > > > > > > How about simply PRINT; maybe something like a printf. > > > > > > Just as long as there will be no prefix like 'INFO:' or 'NOTICE:' > > > > Indeed, there will be a prefix if INFO: or NOTICE:. No one has asked > > for those to be removed before.