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

From: Jean-Luc Lachance <jllachan(at)nsd(dot)ca>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-sql(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [SQL] How to create crude report with psql and/or plpgsql
Date: 2002-03-19 19:18:51
Message-ID: 3C978F1B.E50787D9@nsd.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jean-Luc Lachance 2002-03-19 19:42:52 Re: [SQL] How to create crude report with psql and/or plpgsql
Previous Message Bruce Momjian 2002-03-19 19:18:14 Re: [SQL] How to create crude report with psql and/or plpgsql

Browse pgsql-sql by date

  From Date Subject
Next Message Jean-Luc Lachance 2002-03-19 19:42:52 Re: [SQL] How to create crude report with psql and/or plpgsql
Previous Message Bruce Momjian 2002-03-19 19:18:14 Re: [SQL] How to create crude report with psql and/or plpgsql