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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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


  • From: Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it>
  • To: pgsql-general(at)postgresql(dot)org
  • Subject: Re: Survey: renaming/removing script binaries (createdb, createuser...)
  • Date: Wed, 26 Mar 2008 16:04:40 +0100
  • Message-id: <20080326160440(dot)5c871f90(at)webthatworks(dot)it>

On Wed, 26 Mar 2008 15:25:04 +0100
Zdeněk Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> wrote:

> Please let us know your meaning,

I hope it is the right place where to post.

> 1) What type of names do you prefer?
> c) new one with pg prefix - pgcreatedb, pgcreateuser ...

I'd like the idea of having one command + action as in
http://archives.postgresql.org/pgsql-hackers/2007-06/msg00025.php
and yeah I read the follow-up and Tom's comments on psql -c
but still
- maybe a pg[something] action may be better integrated with
bash auto-completion without rewriting a sql parser
- you could still have man pg[something]
- it may simplify inputting passwords
- it separates admin tasks from "sql coding"

> 2) How often do you use these tools?

> a) every day (e.g. in my cron)

> 3) What name of initdb do you prefer?

> d) pg_ctl -d <dir> init  (replace initdb with pg_ctl new
> functionality)

+ someone on the list pointed out consistency with 1)

AND ;)

> e) What is initdb? My start/stop script does it
> automatically.

> 4) How do you perform VACUUM?

> c) autovacuum

my 0.2 €

-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group