pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces.
Date: 2016-07-09 20:47:59
Message-ID: E1bLzAN-0004Tg-Tn@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix TAP tests and MSVC scripts for pathnames with spaces.

Change assorted places in our Perl code that did things like
system("prog $path/file");
to do it more like
system('prog', "$path/file");
which is safe against spaces and other special characters in the path
variable. The latter was already the prevailing style, but a few bits
of code hadn't gotten this memo. Back-patch to 9.4 as relevant.

Michael Paquier, Kyotaro Horiguchi

Discussion: <20160704(dot)160213(dot)111134711(dot)horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/02a898b00cd9f7175691b58fb567b51a53bdaad2

Modified Files
--------------
src/tools/msvc/Install.pm | 32 ++++++++++++++++++++++----------
src/tools/msvc/vcregress.pl | 20 +++++++++++++-------
2 files changed, 35 insertions(+), 17 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-07-10 16:46:33 pgsql: Revert "Add some temporary code to record stack usage at server
Previous Message Tom Lane 2016-07-09 19:24:34 Re: pgsql: Add some temporary code to record stack usage at server process