From: Ian Barwick <barwick@gmx.net>
To: markus.cl@gmx.de
To: pgsql-admin@postgresql.org
Subject: Re: Print line?
Date: Wed, 23 Oct 2002 15:38:36 +0200
Message-ID: <200210231538.36962.barwick@gmx.net> (raw)
In-Reply-To: <c1e48b51.0210220946.37c05beb@posting.google.com>
References: <c1e48b51.0210220946.37c05beb@posting.google.com>
On Tuesday 22 October 2002 19:46, Markus Dehmann wrote:
> Hi,
>
> is there an SQL command that just prints a line? I want to do sth like:
>
> -- SQL query
> print "Now displaying cities...";
> SELECT * from cities;
By definition SQL doesn't have any output formatting
functions; those are provided by individual client
applications.
In psql you can use \echo to print a line to standard
output. \? shows other available options.
Ian Barwick
barwick@gmx.net
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: barwick@gmx.net, markus.cl@gmx.de
Subject: Re: Print line?
In-Reply-To: <200210231538.36962.barwick@gmx.net>
References: <c1e48b51.0210220946.37c05beb@posting.google.com> <200210231538.36962.barwick@gmx.net>
* 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