Re: Survey: renaming/removing script binaries (createdb, createuser...)

From: Steve Atkins <steve(at)blighty(dot)com>
To: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Survey: renaming/removing script binaries (createdb, createuser...)
Date: 2008-03-26 19:30:43
Message-ID: B82809F3-BA9B-46DD-A938-ED4246B42D15@blighty.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Mar 26, 2008, at 11:44 AM, Leif B. Kristensen wrote:
> On Wednesday 26. March 2008, Ron Mayer wrote:
>
>> I'd prefer a "pg" program that took as arguments
>> the command. So you'd have "pg createdb" instead
>> of "pg_createdb".
>>
>> There are many precedents. "cvs update", "git pull"
>> "apt-get install".
>>
>> Anyone else like this approach?
>
> I'll second that. It would be much easier on the brain, as you might
> issue a "pg --help" if you don't remember the exact syntax or even the
> name of each command.

Seems like it'd be a fair bit more work to do than a simple
rename, but the end result seems a nice clean solution.

Would it make it more difficult to do a client-only
installation if "pg" replaced both things like pg_ctl and
initdb as well as createdb and createuser, though?

Cheers,
Steve

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-03-26 19:31:40 Re: page is uninitialized --- fixing
Previous Message Alex Vinogradovs 2008-03-26 19:20:26 Re: IBM investing in EnterpriseDB