Re: logging a psql script
Jeff Duffy <jduffy@greatbridge.com>
From: Jeff Duffy <jduffy@greatbridge.com>
To: Ken Kline <ken@oldbs.com>
Cc: pgsql-sql@postgresql.org
Date: 2001-02-21T22:06:21Z
Lists: pgsql-sql
On Wed, 21 Feb 2001, Ken Kline wrote: > 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 > On UNIX/UNIX-like machines, use the script(1) command (man script for details). Jeff -- Errors have occurred. We won't tell you where or why. Lazy programmers. -- Hacking haiku