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

From: "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>
To: Jean-Luc Lachance <jllachan(at)nsd(dot)ca>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-sql(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: How to create crude report with psql and/or plpgsql
Date: 2002-03-19 22:12:14
Message-ID: 20020319221214.GA1363@rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2002-03-19 22:45:41 Re: [SQL] How to create crude report with psql and/or plpgsql
Previous Message Doug McNaught 2002-03-19 22:10:12 Re: [Q] Distributing a binary of postgres with my software and license

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2002-03-19 22:45:41 Re: [SQL] How to create crude report with psql and/or plpgsql
Previous Message David Siebert 2002-03-19 22:06:47 Re: Yet another indexing issue.