pgsql: Fix "too many arguments" messages not to index off the end of ar

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix "too many arguments" messages not to index off the end of ar
Date: 2012-09-06 19:56:06
Message-ID: E1T9iBK-0003AL-Go@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ee121a6473c00d0c791e3ed1c2f8e555e66a0ea0

Modified Files
--------------
src/bin/initdb/initdb.c | 2 +-
src/bin/scripts/clusterdb.c | 2 +-
src/bin/scripts/reindexdb.c | 2 +-
src/bin/scripts/vacuumdb.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2012-09-06 21:00:47 pgsql: Update syntax shown for \copy to match new syntax for COPY.
Previous Message Tom Lane 2012-09-06 15:44:04 pgsql: Allow embedded spaces without quoting in unix_socket_directories