pgbench - minor fix for meta command only scripts

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема pgbench - minor fix for meta command only scripts
Дата
Msg-id alpine.DEB.2.20.1607090850120.3412@sto
обсуждение исходный текст
Ответы Re: pgbench - minor fix for meta command only scripts  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
While testing meta-command pgbench only scripts, I noticed that there is
an infinite loop in threadRun, which means that other tasks such as
reporting progress do not get a chance.

The attached patch breaks this loop by always returning at the end of a
script.

On "pgbench -T 3 -P 1 -f noop.sql", before this patch, the progress is not
shown, after it is.

--
Fabien.
Вложения

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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: pgbench more operators & functions
Следующее
От: Fabien COELHO
Дата:
Сообщение: pgbench - allow empty queries