Fix "too many arguments" messages not to index off the end of argv[].

Robert Haas <rhaas@postgresql.org>

Commit: 83f2584f15d9450834f3b3d5e4a2edaa7c00dc60
Author: Robert Haas <rhaas@postgresql.org>
Date: 2012-09-06T19:52:11Z
Releases: 9.0.10
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.

Files

PathChange+/−
src/bin/initdb/initdb.c modified +1 −1