=?ISO-8859-1?Q?C=E9dric_BUSCHINI?= <cbuschini(at)carax(dot)com> writes:
> I would like to save in a file log from a "VACUUM VERBOSE analyze"
> perform from psql.
> I ve tried different ways :
> --------------
> [USER(at)DBsrv] # psql -c'VACUUM VERBOSE analyze' > /home/log_vaccum
> --------------
I think that output goes to stderr not stdout. Try
psql -c'VACUUM VERBOSE analyze' 2> /home/log_vaccum
regards, tom lane