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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Adam Rich <adam(dot)r(at)sbcglobal(dot)net>
Cc: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "'Ben'" <bench(at)silentmedia(dot)com>, "'Zdenek Kotala'" <Zdenek(dot)Kotala(at)Sun(dot)COM>, "'Naz Gassiep'" <naz(at)mira(dot)net>, "'PostgreSQL'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Survey: renaming/removing script binaries (createdb, createuser...)
Date: 2008-03-28 14:25:21
Message-ID: 200803281425.m2SEPLT18322@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message carty mc 2008-03-28 14:39:43 Database trigger across multiple postgres databases
Previous Message Adam Rich 2008-03-28 13:31:02 Re: Need help on how to backup a table