pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: 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: Tue, 6 Sep 2016 10:23:11 -0700
Message-ID: <20160906172311.ngvezt24jak4tlgb@alap3.anarazel.de> (raw)
In-Reply-To: <26516.1473181731@sss.pgh.pa.us>
References: <E1bbBaE-0001j6-Gz@gemulon.postgresql.org>
	<ef4f8751-b6c5-48ab-d2c3-ca2a270d5854@2ndquadrant.com>
	<26516.1473181731@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 2016-09-06 13:08:51 -0400, Tom Lane wrote:
> Dash is considered a character that needs quoting.  It might be possible
> to avoid that if we could be certain that appendShellString's output would
> never be placed in a spot where it could be taken for a switch, but that
> seems like a large assumption to me.  Or maybe we could treat it as
> forcing quotes only if it starts the string; but I don't personally care
> enough to write the code for that.  Feel free if you want to.

But quotes are interpreted by the shell, not by the called program. So I
don't think putting --whatnot in quotes changes anything here?


-- 
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)  latest in thread

Message-ID: <20160906172311.ngvezt24jak4tlgb@alap3.anarazel.de>
Permalink:  ../20160906172311.ngvezt24jak4tlgb@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20160906172311.ngvezt24jak4tlgb@alap3.anarazel.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-committers@postgresql.org
  Cc: andres@anarazel.de, 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: <20160906172311.ngvezt24jak4tlgb@alap3.anarazel.de>
  References: <E1bbBaE-0001j6-Gz@gemulon.postgresql.org> <ef4f8751-b6c5-48ab-d2c3-ca2a270d5854@2ndquadrant.com> <26516.1473181731@sss.pgh.pa.us> <20160906172311.ngvezt24jak4tlgb@alap3.anarazel.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