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

Jean-Luc Lachance <jllachan@nsd.ca>

From: Jean-Luc Lachance <jllachan@nsd.ca>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-sql@postgresql.org, pgsql-general@postgresql.org
Date: 2002-03-19T19:18:51Z
Lists: pgsql-general, pgsql-sql
Hello Bruce,

How about simply PRINT; maybe something like a printf.

Just as long as there will be no prefix like 'INFO:' or 'NOTICE:'

JLL

Bruce Momjian wrote:
> 
> Jean-Luc Lachance wrote:
> > Hello Andrew,
> >
> > I do not need HTML, just plain text or maybe PDF.
> >
> > It would be nice if there was one extra level for RAISE as in:
> > RAISE PRINT 'Whatever'
> > That would not send the message the log but only to the console.
> > One could do alot with that.
> 
> 7.3 will have that.  It will be RAISE INFO, which goes only to the
> client.  RAISE LOG goes only to the server logs.
>