Re: spool

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: "Jova" <jclockridge(at)cablevision(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: spool
Date: 2001-08-21 05:58:30
Message-ID: 200108210558.f7L5wVma017918@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Jova" wrote:
>how do spool my results to a file.
>I know there is a command spool on and off. How do I use it?

In psql, use \o. There is also the command-line option -o.

Check the manpage for psql for full details.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"For the Lord himself shall descend from heaven with a
shout, with the voice of the archangel, and with the
trump of God; and the dead in Christ shall rise first;
Then we which are alive and remain shall be caught
up together with them in the clouds, to meet the Lord
in the air; and so shall we ever be with the Lord."
I Thessalonians 4:16,17

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Elphick 2001-08-21 06:05:20 Re: GUI Application mode
Previous Message Andrey Y. Mosienko 2001-08-21 05:56:59 Re: Sort by foreign date column