Received: from mta3-rme.xtra.co.nz (mta3-rme.xtra.co.nz [203.96.92.13]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f1M9D5x20474 for ; Thu, 22 Feb 2001 04:13:06 -0500 (EST) (envelope-from csawtell@xtra.co.nz) Received: from berty ([210.55.86.23]) by mta3-rme.xtra.co.nz with SMTP id <20010222091302.VCXA13669018.mta3-rme.xtra.co.nz@berty>; Thu, 22 Feb 2001 22:13:02 +1300 Content-Type: text/plain; charset="iso-8859-1" From: Christopher Sawtell Organization: At Home To: Ken Kline , pgsql-sql@postgresql.org Subject: Re: logging a psql script Date: Thu, 22 Feb 2001 22:12:56 +1300 X-Mailer: KMail [version 1.2] References: <3A943843.CA8825F8@oldbs.com> In-Reply-To: <3A943843.CA8825F8@oldbs.com> MIME-Version: 1.0 Message-Id: <01022222125600.15335@berty> Content-Transfer-Encoding: 8bit X-Archive-Number: 200102/334 X-Sequence-Number: 1530 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 <<--