From: | Andreas Karlsson <andreas(at)proxel(dot)se> |
---|---|
To: | "Fred (dot)Flintstone" <eldmannen(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: PostgreSQL pollutes the file system |
Date: | 2019-03-20 10:05:53 |
Message-ID: | 7b9b6804-1575-3502-d9c9-91d324c913bd@proxel.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-pkg-debian |
On 3/19/19 11:19 AM, Fred .Flintstone wrote:
> PostgreSQL pollutes the file system with lots of binaries that it is
> not obvious that they belong to PostgreSQL.
>
> Such as "/usr/bin/createdb", etc.
>
> 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.
Hi,
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.
I am personally in favor of renaming e.g. createdb to pg_createdb, since
it is not obvious that createdb belongs to PostgreSQL when reading a
script or looking in /usr/bin, but we would need a some kind of
deprecation cycle here or we would suddenly break tons of people's scripts.
And as for the git-like solution with a wrapper script, that seems to be
the modern way to do things but would be an even larger breakage and I
am not convinced the advantage would be worth it especially since our
executables are not as closely related and consistent as for example git's.
Andreas
From | Date | Subject | |
---|---|---|---|
Next Message | David Steele | 2019-03-20 10:15:15 | Re: Re: Reporting script runtimes in pg_regress |
Previous Message | Imai, Yoshikazu | 2019-03-20 09:40:34 | RE: speeding up planning with partitions |
From | Date | Subject | |
---|---|---|---|
Next Message | Fred .Flintstone | 2019-03-20 10:43:24 | Re: PostgreSQL pollutes the file system |
Previous Message | apt.postgresql.org Repository Update | 2019-03-19 17:23:44 | postgis updated to version 2.5.2+dfsg-1~exp1.pgdg+1 |