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

Robert Haas <rhaas@postgresql.org>

Commit: 63ea46f5db90709032d98819c744881253d933f7
Author: Robert Haas <rhaas@postgresql.org>
Date: 2012-09-06T19:52:04Z
Releases: 8.3.21
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