Re: How to capture an interactive psql session in a log file?

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: How to capture an interactive psql session in a log file?
Дата
Msg-id 20090403055826.GA26557@depesz.com
обсуждение исходный текст
Ответ на How to capture an interactive psql session in a log file?  (Gordon Shannon <gordo169@gmail.com>)
Ответы Re: How to capture an interactive psql session in a log file?  (Gordon Shannon <gordo169@gmail.com>)
Список pgsql-general
On Thu, Apr 02, 2009 at 10:55:10PM -0700, Gordon Shannon wrote:
> Has anyone solved this issue before?

have you seen program "script"?

usage:

just run script
you will get shell. now run your command you want to capture everything
from - it will work as usual.
after you finish - exit the "script-shell", and check the generated
typescript file

Best regards,

depesz

--
Linkedin: http://www.linkedin.com/in/depesz  /  blog: http://www.depesz.com/
jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

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

Предыдущее
От: Gordon Shannon
Дата:
Сообщение: How to capture an interactive psql session in a log file?
Следующее
От: Gordon Shannon
Дата:
Сообщение: Re: How to capture an interactive psql session in a log file?