Re: psql's \watch is broken

Поиск
Список
Период
Сортировка
Искать
От
Fabien COELHO
Тема
Re: psql's \watch is broken
Дата
Msg-id
alpine.DEB.2.21.1912140009070.31008@pseudo
Ответ на
Список
Дерево обсуждения
psql's \watch is broken Jeff Janes <jeff.janes@gmail.com>
Re: psql's \watch is broken Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql's \watch is broken Michael Paquier <michael@paquier.xyz>
Re: psql's \watch is broken Tom Lane <tgl@sss.pgh.pa.us>
Re: psql's \watch is broken Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql's \watch is broken Michael Paquier <michael@paquier.xyz>
Re: psql's \watch is broken Michael Paquier <michael@paquier.xyz>
Re: psql's \watch is broken Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql's \watch is broken Jeff Janes <jeff.janes@gmail.com>

> explain (analyze) select * from pgbench_accounts \watch 1
>
> It behaves as expected.  But once I break out of the loop with ctrl-C, then
> if I execute the same thing again it executes the command once, but shows
> no output and doesn't loop.  It seems like some flag is getting set with
> ctrl-C, but then never gets reset.
>
> It was broken in this commit:
>
> commit a4fd3aa719e8f97299dfcf1a8f79b3017e2b8d8b
> Author: Michael Paquier 
> Date:   Mon Dec 2 11:18:56 2019 +0900
>
>    Refactor query cancellation code into src/fe_utils/
>
> I've not dug into code itself, I just bisected it.

Thanks for the report. I'll look into it.

-- 
Fabien.


В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Daniel Gustafsson
Дата:
FAQ