Re: Survey: renaming/removing script binaries (createdb, createuser...) - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Survey: renaming/removing script binaries (createdb, createuser...)
Date
Msg-id 200803281425.m2SEPLT18322@momjian.us
Whole thread Raw
In response to Re: Survey: renaming/removing script binaries (createdb, createuser...)  ("Adam Rich" <adam.r@sbcglobal.net>)
List pgsql-general
Adam Rich wrote:
> > > Oh, then there should have been some options in the survey along the
> > > lines of "things are fine how they are."
> >
> > Oh, a bit of answer-forcing wasn't beneath him.
>
>
> Ummm... Isn't that what Option A is about ?
>
>
> 1) What type of names do you prefer?
> -------------------------------
> a) old notation - createdb, createuser ...
> b) new one with pg_ prefix - pg_createdb, pg_creteuser ...
> c) new one with pg prefix - pgcreatedb, pgcreateuser ...
> d) remove them - psql is the solution
> e) remove them - pgadmin is the solution

One very minimal idea that isn't listed here is just to rename
createuser to createdbuser or createpguser, with similar changes for
dropuser, createlang, and droplang.  That gives all commands a 'db' or
'pg' in part of the command, with no underscores, and it matches the
existing command that already have 'db'.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-general by date:

Previous
From: "Adam Rich"
Date:
Subject: Re: Need help on how to backup a table
Next
From: Tomasz Ostrowski
Date:
Subject: Re: Survey: renaming/removing script binaries (createdb, createuser...)