Re: Survey: renaming/removing script binaries (createdb, createuser...)
От | Alan Hodgson |
---|---|
Тема | Re: Survey: renaming/removing script binaries (createdb, createuser...) |
Дата | |
Msg-id | 200803261019.28503@hal.medialogik.com обсуждение исходный текст |
Ответ на | Survey: renaming/removing script binaries (createdb, createuser...) (Zdeněk Kotala <Zdenek.Kotala@Sun.COM>) |
Список | pgsql-general |
On Wednesday 26 March 2008, Zdeněk Kotala <Zdenek.Kotala@sun.com> wrote: > 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 c Actually, I like a) because I'm used to them and they're in a lot of scripts, but I can see advantages to making them look pg-specific. > 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 a > 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 See notes on #1 though. > > 4) How do you perform VACUUM? > ----------------------------- > > a) vacuumdb - shell command > b) VACUUM - SQL command > c) autovacuum > d) What is vacuum? c,a,b -- Alan
В списке pgsql-general по дате отправления: