logging a psql script

Поиск
Список
Период
Сортировка
От Ken Kline
Тема logging a psql script
Дата
Msg-id 3A943843.CA8825F8@oldbs.com
обсуждение исходный текст
Ответы Re: logging a psql script  (Frank Joerdens <frank@joerdens.de>)
Re: logging a psql script  ("Oliver Elphick" <olly@lfix.co.uk>)
Re: logging a psql script  (Christopher Sawtell <csawtell@xtra.co.nz>)
Re: logging a psql script  (Jeff Duffy <jduffy@greatbridge.com>)
Список pgsql-sql
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






В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: now() with microsecond granulity needed
Следующее
От: Frank Joerdens
Дата:
Сообщение: Re: logging a psql script