pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chris Travers <chris.travers@adjust.com>
Cc: Andreas Karlsson <andreas@proxel.se>
Cc: Fred .Flintstone <eldmannen@gmail.com>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: PostgreSQL pollutes the file system
Date: Wed, 20 Mar 2019 10:19:33 -0400
Message-ID: <29226.1553091573@sss.pgh.pa.us> (raw)
In-Reply-To: <CAN-RpxBb1LECssnFRZ4LLxWpKPg2HrfH_P2cs_i0hEj3a52fhQ@mail.gmail.com>
References: <CAJgfmqUeyn2hhpuxCDCb3F7j=JhtU4SwGT3f0EhK5D1xpj1LAQ@mail.gmail.com>
	<7b9b6804-1575-3502-d9c9-91d324c913bd@proxel.se>
	<CAN-RpxBb1LECssnFRZ4LLxWpKPg2HrfH_P2cs_i0hEj3a52fhQ@mail.gmail.com>

Chris Travers <chris.travers@adjust.com> writes:
> On Wed, Mar 20, 2019 at 11:06 AM Andreas Karlsson <andreas@proxel.se> wrote:
>> On 3/19/19 11:19 AM, Fred .Flintstone wrote:
>>> It would be better if these files were renamed to be prefixed with
>>> pg_, such as pg_createdb.
>>> Or even better postgresql-createdb then be reachable by through a
>>> "postgresql" wrapper script.

>> This topic has been discussed before e.g. in 2008 in
>> https://www.postgresql.org/message-id/47EA5CC0.8040102%40sun.com and
>> also more recently but I cannot find it in the archives right now.

And also before that, eg
https://www.postgresql.org/message-id/flat/199910091253.IAA10670%40candle.pha.pa.us

> I wouldn't be opposed to this, but I would note two points on a deprecation
> cycle:
> 1  Given that people may have tools that work with all supported versions
> of PostgreSQL, this needs to be a long cycle, and
> 2. Managing that cycle makes it a little bit of a tough sell.

If we didn't pull the trigger twenty years ago, nor ten years ago,
we're not likely to do so now.  Yeah, it's a mess and we'd certainly
do it differently if we were starting from scratch, but we're not
starting from scratch.  There are decades worth of scripts out there
that know these program names, most of them not under our control.

Every time this has been looked at, we've concluded that the
distributed costs of getting rid of these program names would exceed
the value; and that tradeoff gets worse, not better, as more years
go by.  I don't foresee it happening.

			regards, tom lane




view thread (113+ messages)  latest in thread

Message-ID: <29226.1553091573@sss.pgh.pa.us>
Permalink:  ../29226.1553091573@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29226.1553091573@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-pkg-debian@postgresql.org
  Cc: tgl@sss.pgh.pa.us, chris.travers@adjust.com, andreas@proxel.se, eldmannen@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: PostgreSQL pollutes the file system
  In-Reply-To: <29226.1553091573@sss.pgh.pa.us>
  References: <CAJgfmqUeyn2hhpuxCDCb3F7j=JhtU4SwGT3f0EhK5D1xpj1LAQ@mail.gmail.com> <7b9b6804-1575-3502-d9c9-91d324c913bd@proxel.se> <CAN-RpxBb1LECssnFRZ4LLxWpKPg2HrfH_P2cs_i0hEj3a52fhQ@mail.gmail.com> <29226.1553091573@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox