]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix "too many arguments" messages not to index off the end of argv[].
authorRobert Haas <rhaas@postgresql.org>
Thu, 6 Sep 2012 19:43:46 +0000 (15:43 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 6 Sep 2012 19:52:07 +0000 (15:52 -0400)
commit7e21ff3edb87ebd0575aa2e0e4fd7743c5a1af88
treeb8bfd31e67553dd905ceffeb8a289565079c0bea
parent1cd2d17ed746670c3a6f6dcb75c3d497676ef085
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.
src/bin/initdb/initdb.c