Re: Vacuum output redirect
От | Martin Gainty |
---|---|
Тема | Re: Vacuum output redirect |
Дата | |
Msg-id | BAY108-DAV20460B0AFFFE4E348FF25BAE6E0@phx.gbl обсуждение исходный текст |
Ответ на | Vacuum output redirect ("Wim Chalmet" <wim.chalmet@gmail.com>) |
Ответы |
Re: Vacuum output redirect
|
Список | pgsql-general |
does psql have write access to the folder?
M-
M-
----- Original Message -----From: Wim ChalmetSent: Tuesday, December 04, 2007 10:27 AMSubject: [GENERAL] Vacuum output redirectHi,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?I have tried this (the file "run_vacuum.sql" just contains this one line - without quotes of course: "vacuum full analyze verbose;" )psql -d sirius_lm -U postgres -f run_vacuum.sql -o vacuum.logAnd also this:psql -d sirius_lm -U postgres -f run_vacuum.sql >vacuum.logBut none of that works. Can anybody help a beginner out? Thanks!
--
Do you want to make a difference? Issue a microloan at www.kiva.org.
В списке pgsql-general по дате отправления: