pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ross J. Reedstrom <reedstrm@rice.edu>
To: Jean-Luc Lachance <jllachan@nsd.ca>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: How to create crude report with psql and/or plpgsql
Date: Tue, 19 Mar 2002 16:12:14 -0600
Message-ID: <20020319221214.GA1363@rice.edu> (raw)
In-Reply-To: <3C9794BC.EB5A6597@nsd.ca>
References: <200203191918.g2JJIEO28898@candle.pha.pa.us>
	<3C9794BC.EB5A6597@nsd.ca>

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.



view thread (13+ messages)  latest in thread

Message-ID: <20020319221214.GA1363@rice.edu>
Permalink:  ../20020319221214.GA1363@rice.edu/
Also on:    postgresql.org/message-id/20020319221214.GA1363@rice.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: reedstrm@rice.edu, jllachan@nsd.ca, pgman@candle.pha.pa.us, pgsql-general@postgresql.org
  Subject: Re: How to create crude report with psql and/or plpgsql
  In-Reply-To: <20020319221214.GA1363@rice.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox