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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces.
Дата
Msg-id E1bLzAN-0004Td-Tg@gemulon.postgresql.org
обсуждение исходный текст
Список 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.160213.111134711.horiguchi.kyotaro@lab.ntt.co.jp>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/30b2731bd21741a6370afba330cea31c75da3bdb

Modified Files
--------------
src/test/perl/PostgresNode.pm |  7 ++++---
src/tools/msvc/Install.pm     | 32 ++++++++++++++++++++++----------
src/tools/msvc/vcregress.pl   | 20 +++++++++++++-------
3 files changed, 39 insertions(+), 20 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Add some temporary code to record stack usage at server process
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces.