From: | "Martin Gainty" <mgainty(at)hotmail(dot)com> |
---|---|
To: | "Wim Chalmet" <wim(dot)chalmet(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Vacuum output redirect |
Date: | 2007-12-05 00:52:32 |
Message-ID: | BAY108-DAV20460B0AFFFE4E348FF25BAE6E0@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
does psql have write access to the folder?
M-
----- Original Message -----
From: Wim Chalmet
To: pgsql-general(at)postgresql(dot)org
Sent: Tuesday, December 04, 2007 10:27 AM
Subject: [GENERAL] Vacuum output redirect
Hi,
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.log
And also this:
psql -d sirius_lm -U postgres -f run_vacuum.sql >vacuum.log
But 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Bill Moran | 2007-12-05 01:02:19 | Re: Avoid huge perfomance loss on string concatenation |
Previous Message | Shane Ambler | 2007-12-05 00:51:34 | Re: PostgreSQL Beta4 released |