Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character
Дата
Msg-id
23264712-f7b6-bdb6-3859-9af51d711e34@2ndQuadrant.com
Ответ на
Список
Дерево обсуждения
[PATCH] pgbench tap tests fail if the path contains a perl special character Raúl Marín Rodríguez <rmrodriguez@carto.com>
Re: [PATCH] pgbench tap tests fail if the path contains a perl special character Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character Raúl Marín Rodríguez <rmrodriguez@carto.com>
Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [PATCH] pgbench tap tests fail if the path contains a perl special character Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] pgbench tap tests fail if the path contains a perl special character Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character Raúl Marín Rodríguez <rmrodriguez@carto.com>
Re: [PATCH] pgbench tap tests fail if the path contains a perl special character Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character Fabien COELHO <coelho@cri.ensmp.fr>
Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [PATCH] pgbench tap tests fail if the path contains a perl special character Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character Fabien COELHO <coelho@cri.ensmp.fr>
Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character Fabien COELHO <coelho@cri.ensmp.fr>
Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character Raúl Marín Rodríguez <rmrodriguez@carto.com>
Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character Fabien COELHO <coelho@cri.ensmp.fr>
Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character Raúl Marín Rodríguez <rmrodriguez@carto.com>
Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character Daniel Gustafsson <daniel@yesql.se>
Re: [PATCH] pgbench tap tests fail if the path contains a perl special character Raúl Marín <git@rmr.ninja>
Re: Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character David Steele <david@pgmasters.net>
Re: Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character Raúl Marín Rodríguez <rmrodriguez@carto.com>
Re: [PATCH] pgbench tap tests fail if the path contains a perlspecial character Fabien COELHO <coelho@cri.ensmp.fr>

On 1/21/19 11:18 AM, Fabien COELHO wrote:
>
> Hello Tom,
>
>> Well, glob does have some metacharacters, so not doing any quoting
>> at all still leaves us with failure modes.
>>
>> I did a little bit of googling on this subject last night, and it
>> seems that at least some people believe that the answer is to not
>> use glob, period, but read the directory for yourself.
>
> Yep, would work, it can then be filtered with standard regexpr,
> although it will take a few lines (opendir/grep on readdir/closedir).


Sure, probably the best solution. Given that Perl has
opendir/readdir/closedir, it should be only a handful of lines.


cheers


andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


В списке pgsql-hackers по дате отправления
От: Fabien COELHO
Дата:
От: Arthur Zakirov
Дата:
FAQ