Thread: postgres9.0beta2 - vacuumdb - discrepancy between docs & cli

postgres9.0beta2 - vacuumdb - discrepancy between docs & cli

From
gabrielle
Date:
[TEST REPORT]
[Release]:  9.0beta2
[Test Type]:  feature
[Test]:  vacuumdb
[Platform]:  ubuntu
[Parameters]:  -Z
[Failure]:  Yes
[Results]:
postgres@princess:~$ /usr/local/pgsql/bin/vacuumdb -Z -d testy
/usr/local/pgsql/bin/vacuumdb: invalid option -- 'Z'
Try "vacuumdb --help" for more information.

[Comments]:
link to reference doc:
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

--

gabrielle

Re: postgres9.0beta2 - vacuumdb - discrepancy between docs & cli

From
Josh Berkus
Date:
> 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.


--
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com

Re: postgres9.0beta2 - vacuumdb - discrepancy between docs & cli

From
Josh Berkus
Date:
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

Attachment

Re: postgres9.0beta2 - vacuumdb - discrepancy between docs & cli

From
gabrielle
Date:
On Fri, Jun 11, 2010 at 4:01 PM, Josh Berkus <josh@agliodbs.com> wrote:
> 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!

Not getting that error any more!  Thank you.

gabrielle