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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Survey: renaming/removing script binaries (createdb, createuser...)
Дата
Msg-id 200803281425.m2SEPLT18322@momjian.us
обсуждение исходный текст
Ответ на Re: Survey: renaming/removing script binaries (createdb, createuser...)  ("Adam Rich" <adam.r@sbcglobal.net>)
Список 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 по дате отправления:

Предыдущее
От: "Adam Rich"
Дата:
Сообщение: Re: Need help on how to backup a table
Следующее
От: Tomasz Ostrowski
Дата:
Сообщение: Re: Survey: renaming/removing script binaries (createdb, createuser...)