Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bi2Wb-0006z2-2C for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Sep 2016 16:50:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bi2Wa-0004MK-Kp for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Sep 2016 16:50:04 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bi2VC-000206-2Y for pgsql-hackers@postgresql.org; Thu, 08 Sep 2016 16:48:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bi2V9-0001Ue-N4 for pgsql-hackers@postgresql.org; Thu, 08 Sep 2016 16:48:36 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u88GmXt9015622; Thu, 8 Sep 2016 12:48:33 -0400 From: Tom Lane To: Peter Eisentraut cc: pgsql-hackers Subject: Re: Re: [COMMITTERS] pgsql: Make initdb's suggested "pg_ctl start" command line more reliabl In-reply-to: References: <26516.1473181731@sss.pgh.pa.us> Comments: In-reply-to Peter Eisentraut message dated "Thu, 08 Sep 2016 12:07:35 -0400" Date: Thu, 08 Sep 2016 12:48:33 -0400 Message-ID: <15621.1473353313@sss.pgh.pa.us> X-Pg-Spam-Score: -3.0 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Peter Eisentraut 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