[HACKERS] TAP: fix undefined var warnings in PostgresNode with timeout

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема [HACKERS] TAP: fix undefined var warnings in PostgresNode with timeout
Дата
Msg-id CAMsr+YGqOdSXQfa8jX3k=dgii+FpVy07upbAEhfpPLWREc_SJQ@mail.gmail.com
обсуждение исходный текст
Список pgsql-hackers
If PostgresNode::psql (from the TAP framework) is called with a
timeout set and a timed_out reference, it will attempt to do bitwise
AND and bitshifts on the $ret value from IPC::Run, which is undef if
the command timed out.

This produces annoying errors in the logs.

Fix attached. Should be applied to 9.6 and pg 10.

-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] index-only count(*) for indexes supporting bitmap scans
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] TAP tests take a long time