pgbench tests vs Windows

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgbench tests vs Windows
Дата
Msg-id 0321952c-122a-4653-104d-c3c00410e4d5@2ndQuadrant.com
обсуждение исходный текст
Ответы Re: pgbench tests vs Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: pgbench tests vs Windows  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
In commit ed8a7c6fcf9 we added some extra tests to pgbench, including
this snippet:


    \setshell two\
      expr \
        1 + :one

Unfortunately, this isn't portable, as I've just discovered at the cost
of quite a bit of time. In particular, you can't assume expr is present
and in the path on Windows. The Windows equivalent would be something like:


    \setshell two\
      @set /a c = 1 + :one  && echo %c%


I propose to prepare a patch along these lines. Alternatively we could
just drop it - I don't think the test matters all that hugely.


cheers


andrew


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




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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: pgbench - allow to create partitioned tables
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: range_agg