pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Re: [COMMITTERS] pgsql: Make initdb's suggested "pg_ctl start" command line more reliabl
Date: Thu, 08 Sep 2016 12:48:33 -0400
Message-ID: <15621.1473353313@sss.pgh.pa.us> (raw)
In-Reply-To: <c7a3faee-aede-1d7a-808d-491244a8ba7f@2ndquadrant.com>
References: <E1bbBaE-0001j6-Gz@gemulon.postgresql.org>
	<ef4f8751-b6c5-48ab-d2c3-ca2a270d5854@2ndquadrant.com>
	<26516.1473181731@sss.pgh.pa.us>
	<c7a3faee-aede-1d7a-808d-491244a8ba7f@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> More generally, I'm concerned that appendShellString() looks pretty
> attractive for future use.  It's not inconceivable that someone will
> want to use it for say calling pg_dump from pg_dumpall or pg_upgrade at
> some point, and then maybe we'll accidentally disallow LF/CR in
> tablespace names, say.

That's fair, but I'm not sure how you propose to avoid it, given that
we don't have a method for safely quoting those characters on Windows.

I would certainly far rather find a way to do that and then remove the
prohibition.  But lacking such a solution, we're going to be forced into
messy compromises.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (8+ messages)

Message-ID: <15621.1473353313@sss.pgh.pa.us>
Permalink:  ../15621.1473353313@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15621.1473353313@sss.pgh.pa.us

 · 

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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Make initdb's suggested "pg_ctl start" command line more reliabl
  In-Reply-To: <15621.1473353313@sss.pgh.pa.us>
  References: <E1bbBaE-0001j6-Gz@gemulon.postgresql.org> <ef4f8751-b6c5-48ab-d2c3-ca2a270d5854@2ndquadrant.com> <26516.1473181731@sss.pgh.pa.us> <c7a3faee-aede-1d7a-808d-491244a8ba7f@2ndquadrant.com> <15621.1473353313@sss.pgh.pa.us>

* 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