pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Joe Conway <mail@joeconway.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: Tatsuo Ishii <ishii@sraoss.co.jp>
Cc: Andreas Karlsson <andreas@proxel.se>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: eldmannen@gmail.com, mark.kirkwood@catalyst.net.nz, Michael Paquier <michael@paquier.xyz>
Cc: Chris Travers <chris.travers@adjust.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Euler Taveira <euler@timbira.com.br>
Cc: rjuju123@gmail.com, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: PostgreSQL pollutes the file system
Date: Fri, 29 Mar 2019 21:30:09 +0100
Message-ID: <20190329203008.GE19154@msg.df7cb.de> (raw)
In-Reply-To: <f579fde8-8266-f2d6-4ba1-91c6046bc2f6@joeconway.com>
References: <20190329.100407.1159785913847835944.t-ishii@sraoss.co.jp>
	<20190329152557.GI20294@msg.df7cb.de>
	<24256.1553874086@sss.pgh.pa.us>
	<20190329155121.5zyoahgh4i2r4ayl@alap3.anarazel.de>
	<19517.1553876700@sss.pgh.pa.us>
	<20190329185031.GA19154@msg.df7cb.de>
	<CAFj8pRAFpZcDGL5i1wMQiHZ43y5Qd=22=+2vTCFOrak_mrUxjw@mail.gmail.com>
	<48e5efaf-7ea2-ed70-a803-949bbfec8f6b@joeconway.com>
	<20190329194330.GD19154@msg.df7cb.de>
	<f579fde8-8266-f2d6-4ba1-91c6046bc2f6@joeconway.com>

Re: Joe Conway 2019-03-29 <f579fde8-8266-f2d6-4ba1-91c6046bc2f6@joeconway.com>
> >> echo "\password :\"role\"" | psql -v role='my role'
> > 
> > It is on-topic because the reason we can't just tell people to replace
> >   createuser $foo
> > with
> >   psql -c "create user $foo"
> > is because $foo might need escaping.
> > 
> > IMHO if we find an way to do that which is acceptable for sh scripts,
> > the createuser/... commands could go.
> 
> I think these commands *were* once (at least some of them) shell scripts
> and we went to executable C in order to make them work on Windows, IIRC.

I meant the interface to these programs. It needs to be something
people can use in sh scripts without wtf'ing. The :\"weirdness\" |
cited above is IMHO not acceptable.

Christoph





view thread (113+ messages)  latest in thread

Message-ID: <20190329203008.GE19154@msg.df7cb.de>
Permalink:  ../20190329203008.GE19154@msg.df7cb.de/
Also on:    postgresql.org/message-id/20190329203008.GE19154@msg.df7cb.de

 · 

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: myon@debian.org, mail@joeconway.com, pavel.stehule@gmail.com, tgl@sss.pgh.pa.us, andres@anarazel.de, ishii@sraoss.co.jp, andreas@proxel.se, tomas.vondra@2ndquadrant.com, michael@paquier.xyz, chris.travers@adjust.com, alvherre@2ndquadrant.com, euler@timbira.com.br, pgsql-hackers@lists.postgresql.org
  Subject: Re: PostgreSQL pollutes the file system
  In-Reply-To: <20190329203008.GE19154@msg.df7cb.de>
  References: <20190329.100407.1159785913847835944.t-ishii@sraoss.co.jp> <20190329152557.GI20294@msg.df7cb.de> <24256.1553874086@sss.pgh.pa.us> <20190329155121.5zyoahgh4i2r4ayl@alap3.anarazel.de> <19517.1553876700@sss.pgh.pa.us> <20190329185031.GA19154@msg.df7cb.de> <CAFj8pRAFpZcDGL5i1wMQiHZ43y5Qd=22=+2vTCFOrak_mrUxjw@mail.gmail.com> <48e5efaf-7ea2-ed70-a803-949bbfec8f6b@joeconway.com> <20190329194330.GD19154@msg.df7cb.de> <f579fde8-8266-f2d6-4ba1-91c6046bc2f6@joeconway.com> <20190329203008.GE19154@msg.df7cb.de>

* 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