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
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ee121a6473c00d0c791e3ed1c2f8e555e66a0ea0

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