Re: On naming of executables - Mailing list pgsql-novice

From Kevin Grittner
Subject Re: On naming of executables
Date
Msg-id 5048B99A0200002500049F6B@gw.wicourts.gov
Whole thread Raw
In response to On naming of executables  (Mark Davidson <chemosh9@gmail.com>)
List 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 by date:

Previous
From: Mark Davidson
Date:
Subject: On naming of executables
Next
From: Tom Lane
Date:
Subject: Re: On naming of executables