From: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
---|---|
To: | Euler Taveira <euler(at)timbira(dot)com(dot)br> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Renaming some binaries |
Date: | 2016-08-26 20:01:58 |
Message-ID: | CANP8+jJz3-kLudYyj=Cc0tK0CJW8qK02hJb65DtD6XVtmKAUsQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 26 August 2016 at 18:26, Euler Taveira <euler(at)timbira(dot)com(dot)br> wrote:
> I'm bringing this $subject into discussion again. Historically, we are
> carrying binary names that have been confused newbies. createuser is the
> worst name so for. Also, names like createdb, initdb, reindexdb, and
> droplang does not suggest what product it is referring to. Adding a
> prefix (pg_, pg, ...) would 'make things clear'. If we have a consensus
> about this change, I suggest renaming the following binaries:
>
> clusterdb
> createdb
> createlang
> createuser
> dropdb
> droplang
> dropuser
> initdb
> oid2name
> reindexdb
> vacuumdb
> vacuumlo
Why not just remove them all and change the docs to suggest using
psql -c "CREATE DATABASE foo"
etc
Less code, no confusion because we have just one client tool - psql.
Almost all serious users will be issuing more than one DDL command at
a time, so they'll be writing a script anyway.
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua D. Drake | 2016-08-26 20:02:55 | Re: Renaming of pg_xlog and pg_clog |
Previous Message | Euler Taveira | 2016-08-26 19:33:47 | Re: Renaming some binaries |