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

Robert Haas <rhaas@postgresql.org>

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