Re: PostgreSQL pollutes the file system

From: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
To: "Fred (dot)Flintstone" <eldmannen(at)gmail(dot)com>
Cc: Andreas Karlsson <andreas(at)proxel(dot)se>, Chris Travers <chris(dot)travers(at)adjust(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Daniel Gustafsson <daniel(at)yesql(dot)se>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>, Joe Conway <mail(at)joeconway(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Christoph Berg <myon(at)debian(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andres Freund <andres(at)anarazel(dot)de>, Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz>, Michael Paquier <michael(at)paquier(dot)xyz>, Euler Taveira <euler(at)timbira(dot)com(dot)br>, Julien Rouhaud <rjuju123(at)gmail(dot)com>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: PostgreSQL pollutes the file system
Date: 2019-04-13 13:36:13
Message-ID: 20190413133446.znup73ddhu4o2km2@development
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-pkg-debian

Please don't top post. It makes it unnecessarily difficult to follow the
discussion. See https://wiki.postgresql.org/wiki/Mailing_Lists

On Fri, Apr 12, 2019 at 08:56:35PM +0200, Fred .Flintstone wrote:
>So there is no regression potential.
>

I fail to understand how you came to this conclusion? Andreas pointed
out Debian already uses pg_createcluster, so there clearly is potential
for conflict and a regression.

>When and who can send the patch to rename the programs to carry the
>pg_ prefixes, and create symlinks from the old names?
>

Well, presumably that would be you, sometime in the future?

TBH I don't quite understand what are we trying to achieve in this
thread. It started with the presumption that PostgreSQL "pollutes" the
filesystem with scripts/binaries - which may or may not be true, but for
the sake of the argument let's assume that it is. How does keeping the
original stuff and adding symblinks improve the situation?

>On Fri, Apr 12, 2019 at 5:19 PM Andreas Karlsson <andreas(at)proxel(dot)se> wrote:
>>
>> On 4/12/19 5:14 PM, Chris Travers wrote:
>> > 1. naming things is surprisingly hard. How sure are we that we can do
>> > this right? Can we come up with a correct name for initdb? Maybe
>> > pg_createcluster?
>>
>> The Debian packagers already use pg_createcluster for their script which
>> wraps initdb, and while pg_initdb is a bit misleading (it creates a
>> cluster rather than a database) it is not that bad.
>>
>> Andreas

regards

--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fred .Flintstone 2019-04-13 13:43:42 Re: PostgreSQL pollutes the file system
Previous Message Vik Fearing 2019-04-13 09:51:05 Re: Should the docs have a warning about pg_stat_reset()?

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Fred .Flintstone 2019-04-13 13:43:42 Re: PostgreSQL pollutes the file system
Previous Message Fred .Flintstone 2019-04-12 18:56:35 Re: PostgreSQL pollutes the file system