]> 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:19 +0000 (15:52 -0400)
commitee121a6473c00d0c791e3ed1c2f8e555e66a0ea0
treee90ae5ca6d55f0d7f4f9aeb818eeb486d1219a10
parent1bc414ca7642bf32be80fcbe4760fca0307d2e12
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