pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: gabrielle <gorthx@gmail.com>
Cc: pgsql-testers@postgresql.org
Subject: Re: postgres9.0beta2 - vacuumdb - discrepancy between docs & cli
Date: Fri, 11 Jun 2010 16:01:11 -0700
Message-ID: <4C12C037.4050706@agliodbs.com> (raw)
In-Reply-To: <4C12B653.5050508@agliodbs.com>
References: <AANLkTinb-IpWrN5lIO1NNi7akJlugD4P2iYxHD3B1QTl@mail.gmail.com>
	<4C12B653.5050508@agliodbs.com>

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) {

view thread (4+ messages)  latest in thread

Message-ID: <4C12C037.4050706@agliodbs.com>
Permalink:  ../4C12C037.4050706@agliodbs.com/
Also on:    postgresql.org/message-id/4C12C037.4050706@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-testers@postgresql.org
  Cc: josh@agliodbs.com, gorthx@gmail.com
  Subject: Re: postgres9.0beta2 - vacuumdb - discrepancy between docs & cli
  In-Reply-To: <4C12C037.4050706@agliodbs.com>
  References: <AANLkTinb-IpWrN5lIO1NNi7akJlugD4P2iYxHD3B1QTl@mail.gmail.com> <4C12B653.5050508@agliodbs.com> <4C12C037.4050706@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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