On 6/11/10 3:44 PM, Josh Berkus wrote:
> Folks,
> 
> Looks like someone accidentally deleted the -Z option from vacuumdb.
> Patch attached, one character.  ;-)

Make that 3 characters; Jan pointed out that we ought to have the
command-string in the same order as the switch options.

-- 
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com
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)
                {
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to