Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id B8A206327BF for ; Fri, 11 Jun 2010 20:01:24 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 53653-07 for ; Fri, 11 Jun 2010 23:01:16 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from glacier.frostconsultingllc.com (glacier.frostconsultingllc.com [69.36.227.170]) by mail.postgresql.org (Postfix) with ESMTP id 4513063271D for ; Fri, 11 Jun 2010 20:01:17 -0300 (ADT) Received: from dsl081-245-111.sfo1.dsl.speakeasy.net ([64.81.245.111] helo=Sidney-Stratton.local) by glacier.frostconsultingllc.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.69) (envelope-from ) id 1ONDDr-0000Jo-KB; Fri, 11 Jun 2010 16:01:14 -0700 Message-ID: <4C12C037.4050706@agliodbs.com> Date: Fri, 11 Jun 2010 16:01:11 -0700 From: Josh Berkus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: gabrielle CC: pgsql-testers@postgresql.org Subject: Re: postgres9.0beta2 - vacuumdb - discrepancy between docs & cli References: <4C12B653.5050508@agliodbs.com> In-Reply-To: <4C12B653.5050508@agliodbs.com> Content-Type: multipart/mixed; boundary="------------040709030801040103060407" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201006/15 X-Sequence-Number: 129 This is a multi-part message in MIME format. --------------040709030801040103060407 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 6/11/10 3:18 PM, Josh Berkus wrote: >> http://developer.postgresql.org/pgdocs/postgres/app-vacuumdb.html >> >> vacuumdb --help also shows the -Z option as the short version of --analyze-only. >> >> The full option works: >> postgres@princess:~$ /usr/local/pgsql/bin/vacuumdb --analyze-only -d testy > > Verified, looking for source of bug. patch attached. Please test. Thanks! -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com --------------040709030801040103060407 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="vacuumdb_Z_patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="vacuumdb_Z_patch" ZGlmZiAtYyAtcjEuMzcgdmFjdXVtZGIuYwoqKiogc3JjL2Jpbi9zY3JpcHRzL3ZhY3V1bWRi LmMJMjYgRmViIDIwMTAgMDQ6MTQ6MzYgLTAwMDAJMS4zNwotLS0gc3JjL2Jpbi9zY3JpcHRz L3ZhY3V1bWRiLmMJMTEgSnVuIDIwMTAgMjI6NDE6NTggLTAwMDAKKioqKioqKioqKioqKioq CioqKiA3NCw4MCAqKioqCiAgCiAgCWhhbmRsZV9oZWxwX3ZlcnNpb25fb3B0cyhhcmdjLCBh cmd2LCAidmFjdXVtZGIiLCBoZWxwKTsKICAKISAJd2hpbGUgKChjID0gZ2V0b3B0X2xvbmco YXJnYywgYXJndiwgImg6cDpVOndXZXFkOnphRnQ6ZnYiLCBsb25nX29wdGlvbnMsICZvcHRp bmRleCkpICE9IC0xKQogIAl7CiAgCQlzd2l0Y2ggKGMpCiAgCQl7Ci0tLSA3NCw4MCAtLS0t CiAgCiAgCWhhbmRsZV9oZWxwX3ZlcnNpb25fb3B0cyhhcmdjLCBhcmd2LCAidmFjdXVtZGIi LCBoZWxwKTsKICAKISAJd2hpbGUgKChjID0gZ2V0b3B0X2xvbmcoYXJnYywgYXJndiwgImg6 cDpVOndXZXFkOnpaRmF0OmZ2IiwgbG9uZ19vcHRpb25zLCAmb3B0aW5kZXgpKSAhPSAtMSkK ICAJewogIAkJc3dpdGNoIChjKQogIAkJewo= --------------040709030801040103060407--