logging a script

Поиск
Список
Период
Сортировка
От Ken Kline
Тема logging a script
Дата
Msg-id 3A934E9A.91B43BA4@oldbs.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 по дате отправления:

Предыдущее
От: "postgresql"
Дата:
Сообщение: syntax prob
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: [GENERAL] two tables - foreign keys referring to each other...