pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Sawtell <csawtell@xtra.co.nz>
To: Ken Kline <ken@oldbs.com>
To: pgsql-sql@postgresql.org
Subject: Re: logging a psql script
Date: Thu, 22 Feb 2001 22:12:56 +1300
Message-ID: <01022222125600.15335@berty> (raw)
In-Reply-To: <3A943843.CA8825F8@oldbs.com>
References: <3A943843.CA8825F8@oldbs.com>

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 
<<--




view thread (5+ messages)

Message-ID: <01022222125600.15335@berty>
Permalink:  ../01022222125600.15335@berty/
Also on:    postgresql.org/message-id/01022222125600.15335@berty

 · 

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 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-sql@postgresql.org
  Cc: csawtell@xtra.co.nz, ken@oldbs.com
  Subject: Re: logging a psql script
  In-Reply-To: <01022222125600.15335@berty>
  References: <3A943843.CA8825F8@oldbs.com> <01022222125600.15335@berty>

* 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