Re: PostgreSQL pollutes the file system

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
Cc: tomas(dot)vondra(at)2ndquadrant(dot)com, alvherre(at)2ndquadrant(dot)com, euler(at)timbira(dot)com(dot)br, tgl(at)sss(dot)pgh(dot)pa(dot)us, rjuju123(at)gmail(dot)com, chris(dot)travers(at)adjust(dot)com, andreas(at)proxel(dot)se, eldmannen(at)gmail(dot)com, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: PostgreSQL pollutes the file system
Date: 2019-03-21 00:49:19
Message-ID: 20190321004919.GE20192@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-pkg-debian

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2019-03-21 00:55:00 MacPorts support for "extra" tests
Previous Message Michael Paquier 2019-03-21 00:47:02 Re: MSVC Build support with visual studio 2019

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Tomas Vondra 2019-03-21 01:32:23 Re: PostgreSQL pollutes the file system
Previous Message Tatsuo Ishii 2019-03-20 23:41:32 Re: PostgreSQL pollutes the file system