Re: logging a psql script

From: Christopher Sawtell <csawtell(at)xtra(dot)co(dot)nz>
To: Ken Kline <ken(at)oldbs(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: logging a psql script
Date: 2001-02-22 09:12:56
Message-ID: 01022222125600.15335@berty
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Thu, 22 Feb 2001 10:51, Ken Kline wrote:
> Hello,
> I would like my psql script to log everything that it does.

Issue the command "script" before you start psql.
It will record everything you see on you screen provided it is not piped
into another program such as "more" or "less".

man script

for the details.

--
Sincerely etc.,

NAME Christopher Sawtell
CELL PHONE 021 257 4451
ICQ UIN 45863470
EMAIL csawtell @ xtra . co . nz
CNOTES ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz

-->> Please refrain from using HTML or WORD attachments in e-mails to me
<<--

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message postgresql 2001-02-22 12:26:17 problem with dates
Previous Message Radoslaw Stachowiak 2001-02-22 09:12:53 Re: now() with microsecond granulity needed