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