Re: Renaming some binaries - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Renaming some binaries
Date
Msg-id 20160826200341.2hcl4bofy7kchphj@alap3.anarazel.de
Whole thread Raw
In response to Re: Renaming some binaries  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: Renaming some binaries  (Larry Rosenman <ler@lerctr.org>)
List pgsql-hackers
On 2016-08-26 22:01:58 +0200, Simon Riggs wrote:
> On 26 August 2016 at 18:26, Euler Taveira <euler@timbira.com.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.

Several of them have the ability to connect to several databases, some
even do that in parallel.



pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Renaming of pg_xlog and pg_clog
Next
From: Larry Rosenman
Date:
Subject: Re: Renaming some binaries