Re: \watch 0 or \watch 0.00001 doesn't do what I want
x4mmm@yandex-team.ru
From: "Andrey M. Borodin" <x4mmm@yandex-team.ru>
To: Michael Paquier <michael@paquier.xyz>
Cc: Tom Lane <tgl@sss.pgh.pa.us>,
Heikki Linnakangas <hlinnaka@iki.fi>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>,
Daniel Gustafsson <daniel@yesql.se>
Date: 2024-10-10T05:47:25Z
Lists: pgsql-hackers
Attachments
- v2-0001-Prevent-psql-haning-in-watch-with-submillisecond-.patch (application/octet-stream) patch v2-0001
> On 10 Oct 2024, at 04:49, Michael Paquier <michael@paquier.xyz> wrote: > > How about something like the simple patch attached? Let’s add a comment to tight-loop if statement. And a test for the case. Best regards, Andrey Borodin.
Commits
-
psql: Fix \watch when using interval values less than 1ms
- 6331972c7bc9 16.5 landed
- 8a6170860c83 17.1 landed
- 9f34cae1426f 18.0 landed