Re: How to create crude report with psql and/or plpgsql

Ross Reedstrom <reedstrm@rice.edu>

From: "Ross J. Reedstrom" <reedstrm@rice.edu>
To: Jean-Luc Lachance <jllachan@nsd.ca>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, pgsql-sql@postgresql.org, pgsql-general@postgresql.org
Date: 2002-03-19T22:12:14Z
Lists: pgsql-general, pgsql-sql
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.