Capturing output of vacuumdb and pg_dump

Поиск
Список
Период
Сортировка
От Matt Mello
Тема Capturing output of vacuumdb and pg_dump
Дата
Msg-id 39047.24.243.214.140.1050167917.squirrel@earth.spaceship.com
обсуждение исходный текст
Ответы Re: Capturing output of vacuumdb and pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Hello, all.

I am a linux shell [bash/sh] newbie.  I want to capture the output of the
vacuumdb and pg_dump commands to a log file.  I want all of the lines that
are normally displayed on the screen to be *appended* to a single log file
that I can inspect offline at my convenience.  I have discovered that
">>logfile" won't get all of the data.  Can someone point me to an example
of how to do that?

Thanks!

--
Matt Mello


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Killing only one postmaster
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Capturing output of vacuumdb and pg_dump