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

Robert Haas <rhaas@postgresql.org>

Commit: 7e21ff3edb87ebd0575aa2e0e4fd7743c5a1af88
Author: Robert Haas <rhaas@postgresql.org>
Date: 2012-09-06T19:52:07Z
Releases: 8.4.14
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