Re: PostgreSQL binaries under /usr/lib, why?

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: PostgreSQL binaries under /usr/lib, why?
Дата
Msg-id 20130222132940.GQ16142@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: PostgreSQL binaries under /usr/lib, why?  (Rafael Martinez <r.m.guerrero@usit.uio.no>)
Список pgsql-general
* Rafael Martinez (r.m.guerrero@usit.uio.no) wrote:
> i.e. pgbench, pg_archivecleanup, pg_upgrade, initdb and several others
> are not available via /usr/bin and they should not be defined as low
> level.

initdb is wrapped through pg_createcluster and friends.
pg_archivecleanup probably isn't something you want to have changing
under your existing installation, assuming you install it as
archive_cleanup_command for a given PG version.

pgbench is a bit of an oddball and I suppose it could go either way on
that one.

> Having *all* binaries installed by a postgres package accessible via
> /usr/bin and wrappers would make live easier for many users.

pg_ctl, initdb, etc, are handled through pg_createcluster and friends
and using them independently will very likely cause a lot of grief for
new users.

In short, I'm pretty happy with the choices that Martin's made wrt what
to wrap and how, though I do understand that it can be a bit jarring for
advanced users who are coming from other distributions that don't have
the same level of infrastructure that Ubuntu/Debian have, or for users
who have been compiling from source.

    Thanks,

        Stephen

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

Предыдущее
От: Stuart Bishop
Дата:
Сообщение: Re: PostgreSQL binaries under /usr/lib, why?
Следующее
От: Albe Laurenz
Дата:
Сообщение: Re: Redefining a column within a view