Skip site navigation (1) Skip section navigation (2)

Re: VACCUM VERBOSE ANALYZE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: cbuschini(at)carax(dot)com
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: VACCUM VERBOSE ANALYZE
Date: 2006-05-16 13:56:43
Message-ID: 11803.1147787803@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
=?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

In response to

Responses

pgsql-novice by date

Next:From: Cédric BUSCHINIDate: 2006-05-16 14:17:10
Subject: Re: VACCUM VERBOSE ANALYZE
Previous:From: Cédric BUSCHINIDate: 2006-05-16 12:08:13
Subject: VACCUM VERBOSE ANALYZE

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group