aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-06-11 23:58:24 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-06-11 23:58:24 +0000
commitbc325d843235803356eb9e67cc4c7622df33c02d (patch)
tree6743aa67aa70713417d094506a6b9fb9e14fdef5
parente751b71b56f1ba6fa3bb277059f9d5a8ea7b84af (diff)
downloadpostgresql-bc325d843235803356eb9e67cc4c7622df33c02d.tar.gz
postgresql-bc325d843235803356eb9e67cc4c7622df33c02d.zip
Add missing 'Z' letter to getopt_long call --- the newly added
--analyze-only switch did not work in its short form -Z. Josh Berkus
-rw-r--r--src/bin/scripts/vacuumdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/scripts/vacuumdb.c b/src/bin/scripts/vacuumdb.c
index 4feeb16533d..0bac34954d4 100644
--- a/src/bin/scripts/vacuumdb.c
+++ b/src/bin/scripts/vacuumdb.c
@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/bin/scripts/vacuumdb.c,v 1.37 2010/02/26 04:14:36 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/vacuumdb.c,v 1.38 2010/06/11 23:58:24 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -74,7 +74,7 @@ main(int argc, char *argv[])
handle_help_version_opts(argc, argv, "vacuumdb", help);
- while ((c = getopt_long(argc, argv, "h:p:U:wWeqd:zaFt:fv", long_options, &optindex)) != -1)
+ while ((c = getopt_long(argc, argv, "h:p:U:wWeqd:zZFat:fv", long_options, &optindex)) != -1)
{
switch (c)
{