Re: PostgreSQL pollutes the file system

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: PostgreSQL pollutes the file system
Дата
Msg-id 20190321004919.GE20192@paquier.xyz
обсуждение исходный текст
Ответ на Re: PostgreSQL pollutes the file system  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Ответы Re: PostgreSQL pollutes the file system  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Re: PostgreSQL pollutes the file system  (Chris Travers <chris.travers@adjust.com>)
Список pgsql-hackers
On Thu, Mar 21, 2019 at 08:41:32AM +0900, Tatsuo Ishii wrote:
>> Can someone describe a scenario where this (name of the binary not
>> clearly indicating it's related postgres) causes issues in practice? On
>> my system, there are ~1400 binaries in /usr/bin, and for the vast
>> majority of them it's rather unclear where do they come from.

Naming conflict because our binary names are too generic?  createdb
could for example be applied to any database, and not only Postgres.
(I have 1600 entries in /usr/bin on a Debian installation.)

>>
>> But it's not really an issue, because we have tools to do that
>>
>> 1) man
>>
>> 2) -h/--help
>>
>> 3) rpm -qf $file (and similarly for other packagers)
>>
>> 4) set --prefix to install binaries so separate directory (which some
>> distros already do anyway)
>>
>> So to me this seems like a fairly invasive change (potentially breaking
>> quite a few scripts/tools) just to address a minor inconvenience.
>
> +1.

Yes, +1.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: MSVC Build support with visual studio 2019
Следующее
От: Thomas Munro
Дата:
Сообщение: MacPorts support for "extra" tests