pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Be more paranoid about quoting in pg_upgrade's test script.
Date: Sat, 21 Jul 2018 16:06:02 +0000
Message-ID: <E1fguOQ-0000k7-Kr@gemulon.postgresql.org> (raw)

Be more paranoid about quoting in pg_upgrade's test script.

Double-quote $PGDATA in "find" commands introduced by commit da9b580d8,
in case that path contains spaces or other special characters.

Adjust a few other places so that quoting is done more consistently.
None of the others are actual bugs AFAICS, but it's confusing to readers
if the same thing is done differently in different places.

Noted by Tels.

Discussion: https://postgr.es/m/c96303c04c360bbedaa04f90f515745b.squirrel@sm.webmail.pair.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5e5d131202c3494f4360f001b4805c8944e9600c

Modified Files
--------------
src/bin/pg_upgrade/test.sh | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)



view thread (2+ messages)

Message-ID: <E1fguOQ-0000k7-Kr@gemulon.postgresql.org>
Permalink:  ../E1fguOQ-0000k7-Kr@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fguOQ-0000k7-Kr@gemulon.postgresql.org

 · 

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
  Subject: Re: pgsql: Be more paranoid about quoting in pg_upgrade's test script.
  In-Reply-To: <E1fguOQ-0000k7-Kr@gemulon.postgresql.org>
  References: <E1fguOQ-0000k7-Kr@gemulon.postgresql.org>

* 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