From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | Christoph Berg <myon(at)debian(dot)org>, Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>, andreas(at)proxel(dot)se, tomas(dot)vondra(at)2ndquadrant(dot)com, eldmannen(at)gmail(dot)com, mark(dot)kirkwood(at)catalyst(dot)net(dot)nz, michael(at)paquier(dot)xyz, chris(dot)travers(at)adjust(dot)com, alvherre(at)2ndquadrant(dot)com, euler(at)timbira(dot)com(dot)br, rjuju123(at)gmail(dot)com, pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: PostgreSQL pollutes the file system |
Date: | 2019-03-29 16:25:00 |
Message-ID: | 19517.1553876700@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-pkg-debian |
Andres Freund <andres(at)anarazel(dot)de> writes:
> On 2019-03-29 11:41:26 -0400, Tom Lane wrote:
>> Or perhaps better, allow pg_ctl to grow new subcommands for those
>> tasks?
> We'd need to be careful to somehow delineate commands that need access
> to the data directory / run locally on the server from the ones that
> just needs a client connection.
Hmm, that's a good point: to put it in terms that make sense to a
packager, it'd no longer be clear whether pg_ctl belongs in the
server package or the client package.
I'm still not thrilled with wedging in these things as options
to psql though: its command line semantics are overly complicated
already, when you consider things like multiple -c and -f options.
I mean, somebody might think it's a feature to be able to do
psql --createuser alice --createuser bob -c 'some command' -f somefile
but I don't.
Maybe if we want to merge these things into one executable,
it should be a new one. "pg_util createrole bob" ?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Masahiko Sawada | 2019-03-29 16:26:28 | Re: New vacuum option to do only freezing |
Previous Message | Peter Geoghegan | 2019-03-29 16:21:27 | Re: pgsql: Compute XID horizon for page level index vacuum on primary. |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2019-03-29 16:35:18 | Re: PostgreSQL pollutes the file system |
Previous Message | Andres Freund | 2019-03-29 15:51:21 | Re: PostgreSQL pollutes the file system |