]> granicus.if.org Git - postgresql/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:22 +0000 (15:52 -0400)
commit0a1967a0ef01cd193d9aa212dcf54a1b1d56720e
treee850c4e47bfc897edd271ece09bd5359016602f6
parentd2286a98ef3fb88bafb57381b4c20b8b878827f1
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
src/bin/scripts/clusterdb.c
src/bin/scripts/reindexdb.c
src/bin/scripts/vacuumdb.c