Re: Survey: renaming/removing script binaries (createdb, createuser...) - Mailing list pgsql-general

From David Fetter
Subject Re: Survey: renaming/removing script binaries (createdb, createuser...)
Date
Msg-id 20080326231116.GJ30828@fetter.org
Whole thread Raw
In response to Survey: renaming/removing script binaries (createdb, createuser...)  (Zdeněk Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-general
On Wed, Mar 26, 2008 at 03:25:04PM +0100, Zdeněk Kotala wrote:
> Hello All,
>
> I prepared patch for renaming postgreSQL script tools like createdb,
> createuser, etc. to pg_createdb, pg_creteuser. Original names will be kept
> for 2 or 3 following versions. The main reason for the patch is to avoid
> possible clash of names with systems tools.
>
> And after long discussion on patches and hackers list we have made a
> decision than we need input from wide audience. This is a reason why I
> prepare following surveys.
>
> See:
> http://archives.postgresql.org/pgsql-hackers/2008-03/msg01006.php
> http://archives.postgresql.org/pgsql-patches/2007-07/msg00055.php
>
>
> Please let us know your meaning,
>
>         thanks Zdenek Kotala
>
>
> 1) What type of names do you prefer?
> -------------------------------
>
> a) old notation - createdb, createuser ...
> b) new one with pg_ prefix - pg_createdb, pg_creteuser ...

b)

> c) new one with pg prefix - pgcreatedb, pgcreateuser ...
> d) remove them - psql is the solution
> e) remove them - pgadmin is the solution
>
>
> 2) How often do you use these tools?
> -----------------------------------
>
> a) every day (e.g. in my cron)
> b) one per week

b) (approx)

> c) one time
> d) never
>
>
> 3) What name of initdb do you prefer?
> ---------- --------------------------
>
> a) initdb
> b) pg_initdb

b)

Hrm. I'm seeing a pattern here ;)

> c) pg_init
> d) pg_ctl -d <dir> init  (replace initdb with pg_ctl new functionality)
> e) What is initdb? My start/stop script does it automatically.
>
> 4) How do you perform VACUUM?
> -----------------------------
>
> a) vacuumdb - shell command
> b) VACUUM - SQL command
> c) autovacuum

c)

> d) What is vacuum?

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

pgsql-general by date:

Previous
From: Seb
Date:
Subject: Re: casting from integer to boolean
Next
From: Greg Smith
Date:
Subject: Re: Survey: renaming/removing script binaries (createdb, createuser...)