Re: Command tags in create/drop scripts

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Command tags in create/drop scripts
Дата
Msg-id 20070605161950.GF14474@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Command tags in create/drop scripts  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Ответы Re: Command tags in create/drop scripts  (Andrew Hammond <andrew.george.hammond@gmail.com>)
Re: Command tags in create/drop scripts  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Zdenek Kotala wrote:
> Tom Lane wrote:
> >Bruce Momjian <bruce@momjian.us> writes:
> >>Is this a TODO?
> >
> >I don't think so; there is no demand from anybody but Zdenek to remove
> >those programs.  Has it ever even come up before?

Personally I found really strange to have "createuser" and "createdb"
shipped by Postgres when I started using it.  I just didn't complain.

> "pg_ctl -D <path> init" instead of initdb command?

Seems a reasonable thing to do too.  Harder to type for developers, but
how much of a problem this is for real users?  And developers can script
the thing anyway so I don't think this is a real problem.

One idea is to move the offending binaries into libexec, and have pg_ctl
or other helpers (pg_cmd) call them; and where compatibility with the
old versions is requested, create symlinks in bindir.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: Re: Command tags in create/drop scripts
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Implicit casts with generic arrays