Skip site navigation (1) Skip section navigation (2)

Re: Command names

From: Travis Bauer <trbauer(at)cs(dot)indiana(dot)edu>
To: "Keith L(dot) Musser" <kmusser(at)idisys(dot)com>
Cc: PGSQL-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Command names
Date: 2000-09-28 16:28:01
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general

It would probably be easy to create a link, or a script called pg_XXX that
executes the command XXX.  I'd rather have createdb instead of pg_createdb
just because it's easier to type.  A script that creates the pg_ command
names could be written and made available at someone's web site for people
who wanted it.

Travis Bauer | CS Grad Student | IU |

On Thu, 28 Sep 2000, Keith L. Musser wrote:

> I know all of you are accustomed to the command line interface for pgsql.  (Of course, some of you created it!)  However, I'd be interested if anyone else feels the way I do....
> I would prefer to have a consistent set of names for the commands.  For example,
> I propose the following:
> Instead of this            use this.
> ----------------------------------------------------
> createdb                    pg_createdb
> createuser                 pg_createuser
> destroydb                  pg_destroydb
> initdb                        pg_initdb
> initlocation                 pg_initlocation
> pgaccess                   pg_accessgui
> pgadmin                    pg_admin
> pg_dump                   pg_dump
> pg_dumpall                pg_dumpall
> postgres                    pg_single
> postmaster                pg_master
> psql                          pg_access
> vacuumdb                  pg_vacuumdb
> ???                           pg_help (list all these commands)
> Not that it is terribly difficult the way it is.  But I simply think that a consistent set of names would help new users, and help to prevent conflicts with other commands in the PATH.  Any comments?
> - Keith
> Keith L. Musser
> Integrated Dynamics, Inc.
> 812-371-7777
> email:  kmusser(at)idisys(dot)com

In response to


pgsql-general by date

Next:From: Adam HaberlachDate: 2000-09-28 17:40:51
Subject: Re: Fw: Talking with other Dbases.
Previous:From: Darrin LaddDate: 2000-09-28 16:24:31
Subject: reldesc does not exit

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group