Re: Vacuum output redirect

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: Vacuum output redirect
Дата
Msg-id 4755E45D.7020504@iol.ie
обсуждение исходный текст
Ответ на Vacuum output redirect  ("Wim Chalmet" <wim.chalmet@gmail.com>)
Список pgsql-general
On 04/12/2007 15:27, Wim Chalmet wrote:

> Sorry for my basic question here, but I can't figure things out. I am
> running postgres in a windows environment. I would like to redirect the
> output from a "vacuum full analyze verbose;" to a text file. How do I do
> this?

You could use the standalone program vacuumdb and redirect its output, thus:

   vacuumdb -U postgres your_database >out.txt 2>&1

HTH

Ray.

---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
---------------------------------------------------------------


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

Предыдущее
От: "Peck, Brian"
Дата:
Сообщение: Create function errors
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: PostgreSQL Beta4 released