pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Error out on too many command-line arguments
Date: Thu, 29 Aug 2019 18:51:52 +0000
Message-ID: <E1i3PWS-0000Pn-85@gemulon.postgresql.org> (raw)

Error out on too many command-line arguments

Fix up oid2name, pg_upgrade, and pgbench to error out on too many
command-line arguments.  This makes it match the behavior of other
PostgreSQL programs.

Author: Peter Eisentraut, Ibrar Ahmed
Discussion: https://www.postgresql.org/message-id/flat/f2554627-04e7-383a-ef01-ab99bb6a291c%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9684e426954921e8b2bfa367f9e6a4cbbf4ce5ff

Modified Files
--------------
contrib/oid2name/oid2name.c |  8 ++++++++
src/bin/pg_upgrade/option.c |  3 +++
src/bin/pgbench/pgbench.c   | 10 +++++++++-
3 files changed, 20 insertions(+), 1 deletion(-)



Message-ID: <E1i3PWS-0000Pn-85@gemulon.postgresql.org>
Permalink:  ../E1i3PWS-0000Pn-85@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1i3PWS-0000Pn-85@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Error out on too many command-line arguments
  In-Reply-To: <E1i3PWS-0000Pn-85@gemulon.postgresql.org>
  References: <E1i3PWS-0000Pn-85@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox