|
|
Subscribe / Log in / New account

Re: PostgreSQL pollutes the file system

From:  Alvaro Herrera <alvherre-AT-2ndquadrant.com>
To:  "Fred .Flintstone" <eldmannen-AT-gmail.com>
Subject:  Re: PostgreSQL pollutes the file system
Date:  Wed, 20 Mar 2019 14:32:54 -0300
Message-ID:  <20190320173254.GA10059@alvherre.pgsql>
Cc:  Tom Lane <tgl-AT-sss.pgh.pa.us>, Chris Travers <chris.travers-AT-adjust.com>, Andreas Karlsson <andreas-AT-proxel.se>, Postgres hackers <pgsql-hackers-AT-lists.postgresql.org>
Archive-link:  Article

On 2019-Mar-20, Fred .Flintstone wrote:

> Even just creating symlinks would be a welcome change.
> So the real binary is pg_foo and foo is a symoblic link that points to pg_foo.
> Then at least I can type pg_<tab> and use tab auto-completion to find
> everything related to PostgreSQL.

There is merit to this argument; if the starting point is an unknown
file /usr/bin/foo, then having it be a symlink to /usr/bin/pg_foo makes
it clear which package it belongs to.  We don't *have to* get rid of the
symlinks any time soon, but installing as symlinks now will allow Skynet
to get rid of them some decades from now.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




to post comments


Copyright © 2019, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds