Re: On naming of executables

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: On naming of executables
Дата
Msg-id 5048B99A0200002500049F6B@gw.wicourts.gov
обсуждение исходный текст
Ответ на On naming of executables  (Mark Davidson <chemosh9@gmail.com>)
Список pgsql-novice
Mark Davidson <chemosh9@gmail.com> wrote:

> As a new user of Postgres I'm wondering about the naming of
> certain executables (createdb, dropuser, etc). These are fairly
> ambiguous names. They could just as well apply to the OS or an
> other DBMS. Why not prefix them? (e.g. `pg_createdb` such as
> several other scripts).

> I'm just curious as to why this is.

I checked the earliest tag (which is over 16 years old) in our git
repository, and those executable names were already in use by that
time.  (They may go much earlier, but I'm not sure how to check
that.)  I think that in the absence of any name conflicts which are
causing anyone pain, and in the face of the certainty that changing
them would break many existing production scripts, nobody has been
very inclined to spend their limited time making the change.

In other words: a historical artifact with a fair amount of inertia.

-Kevin


В списке pgsql-novice по дате отправления:

Предыдущее
От: Mark Davidson
Дата:
Сообщение: On naming of executables
Следующее
От: Tom Lane
Дата:
Сообщение: Re: On naming of executables