X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 32DF25E487C for ; Tue, 7 Sep 2004 19:40:09 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 04921-06 for ; Tue, 7 Sep 2004 18:40:05 +0000 (GMT) Received: from silmaril.syscor.priv (h24-108-208-253.sbm.shawcable.net [24.108.208.253]) by svr1.postgresql.org (Postfix) with ESMTP id 44BAE5E4840 for ; Tue, 7 Sep 2004 19:40:01 +0100 (BST) Received: from syscor.com (strider.syscor.priv [192.168.1.3]) by silmaril.syscor.priv (8.12.8/8.12.8) with ESMTP id i87Ie6Ye011285 for ; Tue, 7 Sep 2004 11:40:06 -0700 Message-ID: <413E0105.1060306@syscor.com> Date: Tue, 07 Sep 2004 11:42:13 -0700 From: Ron St-Pierre User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-general Subject: Re: [PERFORM] Table UPDATE is too slow References: <4134BF36.3000504@syscor.com> <413DDFB7.1060006@syscor.com> <6966554.1094579891406.JavaMail.root@hercules.ponder-stibbons.com> In-Reply-To: <6966554.1094579891406.JavaMail.root@hercules.ponder-stibbons.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/282 X-Sequence-Number: 65488 Tom Lane wrote: >Ron St-Pierre 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.) > > > Oops, I'm running bash. I just redirected stderr to the file psql -d imperial -c "vacuum full verbose analyze;" 2> /usr/local/pgsql/vac.info which gives me exactly what I want. Thanks again Tom Ron