pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ken Kline <ken@oldbs.com>
To: pgsql-sql@postgresql.org
Subject: logging a script
Date: Wed, 21 Feb 2001 00:14:02 -0500
Message-ID: <3A934E9A.91B43BA4@oldbs.com> (raw)

Hello,
   I would like my psql script to log everything that it does.
I set the following

\set ECHO all
\o foo.txt
\qecho

some sql, some ddl, etc...

\o


But foo.txt only contains

DROP
DROP
DROP
CREATE
CREATE
CREATE

I want it to contain everything that I see on the screen, what am I
missing?

Thanks

Ken





Message-ID: <3A934E9A.91B43BA4@oldbs.com>
Permalink:  ../3A934E9A.91B43BA4@oldbs.com/
Also on:    postgresql.org/message-id/3A934E9A.91B43BA4@oldbs.com

 · 

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: ken@oldbs.com
  Subject: Re: logging a script
  In-Reply-To: <3A934E9A.91B43BA4@oldbs.com>
  References: <3A934E9A.91B43BA4@oldbs.com>

* 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