pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
postgres9.0beta2 - vacuumdb - discrepancy between docs & cli
4+ messages / 2 participants
[nested] [flat]

* postgres9.0beta2 - vacuumdb - discrepancy between docs & cli
@ 2010-06-11 22:09  gabrielle <gorthx@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: gabrielle @ 2010-06-11 22:09 UTC (permalink / raw)
  To: pgsql-testers

[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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: postgres9.0beta2 - vacuumdb - discrepancy between docs & cli
@ 2010-06-11 22:18  Josh Berkus <josh@agliodbs.com>
  parent: gabrielle <gorthx@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Josh Berkus @ 2010-06-11 22:18 UTC (permalink / raw)
  To: gabrielle <gorthx@gmail.com>; +Cc: pgsql-testers


> 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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: postgres9.0beta2 - vacuumdb - discrepancy between docs & cli
@ 2010-06-11 23:01  Josh Berkus <josh@agliodbs.com>
  parent: Josh Berkus <josh@agliodbs.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Josh Berkus @ 2010-06-11 23:01 UTC (permalink / raw)
  To: gabrielle <gorthx@gmail.com>; +Cc: pgsql-testers

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

Attachments:

vacuumdb_Z_patch (text/plain, 566B) download diff -c -r1.37 vacuumdb.c *** src/bin/scripts/vacuumdb.c 26 Feb 2010 04:14:36 -0000 1.37 --- src/bin/scripts/vacuumdb.c 11 Jun 2010 22:41:58 -0000 *************** *** 74,80 **** handle_help_version_opts(argc, argv, "vacuumdb", help); ! while ((c = getopt_long(argc, argv, "h:p:U:wWeqd:zaFt:fv", long_options, &optindex)) != -1) { switch (c) { --- 74,80 ---- handle_help_version_opts(argc, argv, "vacuumdb", help); ! while ((c = getopt_long(argc, argv, "h:p:U:wWeqd:zZFat:fv", long_options, &optindex)) != -1) { switch (c) {
^ permalink raw reply [nested|flat] 4+ messages in thread

* Re: postgres9.0beta2 - vacuumdb - discrepancy between docs & cli
@ 2010-06-14 20:46  gabrielle <gorthx@gmail.com>
  parent: Josh Berkus <josh@agliodbs.com>
  0 siblings, 0 replies; 4+ messages in thread

From: gabrielle @ 2010-06-14 20:46 UTC (permalink / raw)
  To: Josh Berkus <josh@agliodbs.com>; +Cc: pgsql-testers

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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2010-06-14 20:46 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-06-11 22:09 postgres9.0beta2 - vacuumdb - discrepancy between docs & cli gabrielle <gorthx@gmail.com>
2010-06-11 22:18 ` Josh Berkus <josh@agliodbs.com>
2010-06-11 23:01   ` Josh Berkus <josh@agliodbs.com>
2010-06-14 20:46     ` gabrielle <gorthx@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox