pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonathan S. Katz <jkatz@postgresql.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Fred .Flintstone <eldmannen@gmail.com>
Cc: Chris Travers <chris.travers@adjust.com>
Cc: Andreas Karlsson <andreas@proxel.se>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: PostgreSQL pollutes the file system
Date: Wed, 20 Mar 2019 15:15:02 -0400
Message-ID: <1b27bb31-1b3e-6922-6a10-a99242d276d5@postgresql.org> (raw)
In-Reply-To: <14136.1553105503@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>
	<CAJgfmqVcw_jLDPJC=ktgW=K9iTvMyF=N+x3ym1eXLEZWZkkSkg@mail.gmail.com>
	<14136.1553105503@sss.pgh.pa.us>

On 3/20/19 2:11 PM, Tom Lane wrote:
> "Fred .Flintstone" <eldmannen@gmail.com> writes:
>> 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.
> 
> You'd miss psql.  I think the odds of renaming psql are not
> distinguishable from zero: whatever arguments you might want to make
> about, say, renaming initdb perhaps not affecting too many scripts
> are surely not going to fly for psql.  So that line of argument
> isn't too convincing.

To add to that, for better or worse, many people associate the
PostgreSQL database itself as "psql" or "pgsql" ("I use psql, it's my
favorite database!").

If we are evaluating this whole symlink / renaming thing, there could be
arguments for a "pgsql" alias to psql (or vice versa), but I don't think
"pg_sql" makes any sense and could be fairly confusing.

Jonathan

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (113+ messages)  latest in thread

Message-ID: <1b27bb31-1b3e-6922-6a10-a99242d276d5@postgresql.org>
Permalink:  ../1b27bb31-1b3e-6922-6a10-a99242d276d5@postgresql.org/
Also on:    postgresql.org/message-id/1b27bb31-1b3e-6922-6a10-a99242d276d5@postgresql.org

 · 

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: jkatz@postgresql.org, tgl@sss.pgh.pa.us, eldmannen@gmail.com, chris.travers@adjust.com, andreas@proxel.se, pgsql-hackers@lists.postgresql.org
  Subject: Re: PostgreSQL pollutes the file system
  In-Reply-To: <1b27bb31-1b3e-6922-6a10-a99242d276d5@postgresql.org>
  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> <CAJgfmqVcw_jLDPJC=ktgW=K9iTvMyF=N+x3ym1eXLEZWZkkSkg@mail.gmail.com> <14136.1553105503@sss.pgh.pa.us> <1b27bb31-1b3e-6922-6a10-a99242d276d5@postgresql.org>

* 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