Thread: pgsql: Fix "too many arguments" messages not to index off the end of ar

pgsql: Fix "too many arguments" messages not to index off the end of ar

From
Robert Haas
Date:
Fix "too many arguments" messages not to index off the end of argv[].

This affects initdb, clusterdb, reindexdb, and vacuumdb in master
and 9.2; in earlier branches, only initdb is affected.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0a1967a0ef01cd193d9aa212dcf54a1b1d56720e

Modified Files
--------------
src/bin/initdb/initdb.c     |    2 +-
src/bin/scripts/clusterdb.c |    2 +-
src/bin/scripts/reindexdb.c |    2 +-
src/bin/scripts/vacuumdb.c  |    2 +-
4 files changed, 4 insertions(+), 4 deletions(-)