Ron St-Pierre <rstpierre@syscor.com> writes:
> One question about redirecting VACUUMs output to file though. When I run:
> psql -d imperial -c "vacuum full verbose analyze;" > vac.info
> vac.info contains only the following line:
> VACUUM
> I've been unable to capture the VERBOSE output to file. Any suggestions?
You need to catch stderr not only stdout.
(I'd be less vague if I knew which shell you were running, but sh- and
csh-derived shells do it differently.)
regards, tom lane