Re: [PATCH] add long options to pgbench (submission 1)

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] add long options to pgbench (submission 1)
Date: 2013-05-06 19:41:11
Message-ID: CA+TgmobGr4EvP+wjapFmiHVwWoq5Mo4SBFRWDncNfeXOaMLdrg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, May 2, 2013 at 1:59 PM, Fabien COELHO <coelho(at)cri(dot)ensmp(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Matt Clarkson 2013-05-06 20:18:52 Re: In progress INSERT wrecks plans on table
Previous Message Marko Kreen 2013-05-06 19:39:40 pgcrypto: Fix RSA password-protected keys