Re: [HACKERS] Re: HISTORY for 6.5.2

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, Theo Kramer <theo(at)flame(dot)co(dot)za>, "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Re: HISTORY for 6.5.2
Date: 1999-09-18 21:38:16
Message-ID: 199909182138.RAA19904@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

> Lamar Owen <lamar(dot)owen(at)wgcr(dot)org> writes:
> > So, it IS an interesting thought -- while it would initially create a
> > good deal of confusion, what is the consensus of the hackers on this
> > issue?? Prepending "pg_" to all postgresql commands seems to me to be
> > a good idea (after all, we already hav pg_dump, pg_dumpall,
> > pg_upgrade, etc.).
>
> I don't see a need to change the names of psql or ecpg, which just
> happen to be the things most commonly invoked by users. I'd be in favor
> of prepending pg_ to all the "admin-type" commands like createuser.
> Especially the createXXX/destroyXXX/initXXX ones, which seem the most
> likely to cause naming conflicts.

I have been thinking, the destroy should be drop, in keeping with SQL.
destroy was a QUEL'ism.

> While we are thinking about this, I wonder if it wouldn't be a good idea
> to separate out the executables that aren't really intended to be
> executed willy-nilly, and put them in a different directory.
> postmaster, postgres, and initdb have no business being in users' PATH
> at all, ever. You could make a case that some of the other executables
> are admin tools not intended for ordinary mortals, as well, and should
> not live in a directory that might be put in users' PATH.

Seems like it could make it harder for newbies.

> Of course, the other way an admin can handle that issue is not to put
> /usr/local/pgsql/bin into PATH, but to make symlinks from a more popular
> directory (say, /usr/local/bin) for the programs that users are expected
> to execute. I suppose such an admin could stick pg_ on the front of the
> symlinks anyway. But then the program names don't match the
> documentation we supply, which would be confusing.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Michael Alan Dorman 1999-09-18 22:38:55 Re: [HACKERS] Re: HISTORY for 6.5.2
Previous Message Lamar Owen 1999-09-18 21:15:07 Re: [HACKERS] Re: HISTORY for 6.5.2

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-09-18 22:07:33 Re: [HACKERS] Some progress on INSERT/SELECT/GROUP BY bugs
Previous Message Bruce Momjian 1999-09-18 21:36:11 Re: [HACKERS] Some progress on INSERT/SELECT/GROUP BY bugs