Re: Survey: renaming/removing script binaries (createdb, createuser...)

From: Kyle(dot)Wilcox(at)noaa(dot)gov
To: PostgreSQL <pgsql-general(at)postgresql(dot)org
Subject: Re: Survey: renaming/removing script binaries (createdb, createuser...)
Date: 2008-03-26 18:28:11
Message-ID: 2b58102ae096.2ae0962b5810@noaa.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

----- Original Message -----
From: Zden?k Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Date: Wednesday, March 26, 2008 10:25 am
Subject: [GENERAL] Survey: renaming/removing script binaries
(createdb, createuser...)

> 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 ...
> c) new one with pg prefix - pgcreatedb, pgcreateuser ...
> d) remove them - psql is the solution
> e) remove them - pgadmin is the solution

b) To avoid any conflicts with other tools, and boy do I love
underscores.

>
>
> 2) How often do you use these tools?
> -----------------------------------
>
> a) every day (e.g. in my cron)
> b) one per week
> c) one time
> d) never

e) Monthly, when a new user is added and/or when we re-deploy a new
version of our system.

>
>
> 3) What name of initdb do you prefer?
> ---------- --------------------------
>
> a) initdb
> b) pg_initdb
> 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.

b) It's Wednesday.

> 4) How do you perform VACUUM?
> -----------------------------
>
> a) vacuumdb - shell command
> b) VACUUM - SQL command
> c) autovacuum
> d) What is vacuum?

c) For simplicity.

> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Amiel 2008-03-26 18:33:36 Re: oddly high cost but low actual_time (but not in slony replicants)
Previous Message Jeff Amiel 2008-03-26 18:23:22 oddly high cost but low actual_time (but not in slony replicants)