From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Andreas Karlsson <andreas@proxel.se>
Cc: Chris Travers <chris.travers@adjust.com>
Cc: Tatsuo Ishii <ishii@sraoss.co.jp>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: euler@timbira.com.br, rjuju123@gmail.com, "Fred .Flintstone" <eldmannen@gmail.com>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: PostgreSQL pollutes the file system
Date: Fri, 22 Mar 2019 15:13:45 +1300
Message-ID: <3edd2644-eaf2-41e0-aa7a-92786d25b29c@catalyst.net.nz> (raw)
In-Reply-To: <31754.1553220346@sss.pgh.pa.us>
References: <20190320180832.GA11614@alvherre.pgsql>
<754d8607-682e-6f59-6870-faee5fa0820c@2ndquadrant.com>
<20190321.084132.2186284141219540889.t-ishii@sraoss.co.jp>
<20190321004919.GE20192@paquier.xyz>
<CAN-RpxBfajcAmdP_ghBjXgGYq1f+vf_Em+P6LBqfCq=av2cumg@mail.gmail.com>
<fdbcadf7-9edd-b20d-9987-4e7d21d23b2d@proxel.se>
<10036.1553176960@sss.pgh.pa.us>
<20190322003611.GK20192@paquier.xyz>
<31754.1553220346@sss.pgh.pa.us>
On 22/03/19 3:05 PM, Tom Lane wrote:
> Michael Paquier <michael@paquier.xyz> writes:
>> I would be curious to hear the reason why such tool names have been
>> chosen from the start. The tools have been switched to C in 9e0ab71
>> from 2003, have been introduced by Peter Eisentraut as of 240e4c9 from
>> 1999, and I cannot spot the thread from the time where this was
>> discussed.
> createuser, at least, dates back to Berkeley days: my copy of the
> PG v4r2 tarball contains a "src/bin/createuser/createuser.sh" file
> dated 1994-03-19. (The 1999 commit you mention just moved the
> functionality around; it was there before.) So I imagine the answer
> is that nobody at the time thought of fitting these scripts into a
> larger ecosystem.
FWIW the whole set is there in version 6.4.2:
markir@vedavec:/download/postgres/src/postgresql-6.4.2/src/bin$ ls -l
total 72
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 cleardbdir
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 createdb
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 createuser
drwxr-sr-x 2 markir adm 4096 Dec 31 1998 CVS
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 destroydb
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 destroyuser
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 initdb
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 initlocation
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 ipcclean
-rw-r--r-- 1 markir adm 795 Dec 19 1998 Makefile
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 pgaccess
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 pg_dump
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 pg_encoding
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 pg_id
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 pg_passwd
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 pgtclsh
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 pg_version
drwxr-sr-x 3 markir adm 4096 Dec 31 1998 psql
--
Mark
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: mark.kirkwood@catalyst.net.nz, tgl@sss.pgh.pa.us, michael@paquier.xyz, andreas@proxel.se, chris.travers@adjust.com, ishii@sraoss.co.jp, tomas.vondra@2ndquadrant.com, alvherre@2ndquadrant.com, eldmannen@gmail.com, pgsql-hackers@lists.postgresql.org
Subject: Re: PostgreSQL pollutes the file system
In-Reply-To: <3edd2644-eaf2-41e0-aa7a-92786d25b29c@catalyst.net.nz>
References: <20190320180832.GA11614@alvherre.pgsql> <754d8607-682e-6f59-6870-faee5fa0820c@2ndquadrant.com> <20190321.084132.2186284141219540889.t-ishii@sraoss.co.jp> <20190321004919.GE20192@paquier.xyz> <CAN-RpxBfajcAmdP_ghBjXgGYq1f+vf_Em+P6LBqfCq=av2cumg@mail.gmail.com> <fdbcadf7-9edd-b20d-9987-4e7d21d23b2d@proxel.se> <10036.1553176960@sss.pgh.pa.us> <20190322003611.GK20192@paquier.xyz> <31754.1553220346@sss.pgh.pa.us> <3edd2644-eaf2-41e0-aa7a-92786d25b29c@catalyst.net.nz>
* 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