Re: [PATCH] add long options to pgbench (submission 1) - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [PATCH] add long options to pgbench (submission 1)
Date
Msg-id CA+TgmobGr4EvP+wjapFmiHVwWoq5Mo4SBFRWDncNfeXOaMLdrg@mail.gmail.com
Whole thread Raw
In response to [PATCH] add long options to pgbench (submission 1)  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: [PATCH] add long options to pgbench (submission 1)  (Fabien COELHO <coelho@cri.ensmp.fr>)
Re: [PATCH] add long options to pgbench (submission 1)  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
On Thu, May 2, 2013 at 1:59 PM, Fabien COELHO <coelho@cri.ensmp.fr> wrote:
> This is mostly for reference to the next commitfest.
>
> This very minor patch adds a corresponding long option to all short (one
> letter) options of pgbench. In particular for connection options there is
> now --host --username --port options similar to the "psql" client.
>
> While I was at developing some small extensions to pgbench, ISTM that I
> could do that without much effort.

I don't really have an opinion on whether this is worth doing, but
we'd probably want to update all of our client utilities, not just
pgbench, if we did.

> Note that I'm not so sure about whether to chose singular or plural long
> option names.

I've wondered that myself.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Marko Kreen
Date:
Subject: pgcrypto: Fix RSA password-protected keys
Next
From: Simon Riggs
Date:
Subject: Re: pg_dump --snapshot