pgsql: psql: Fix \watch when using interval values less than 1ms

2024-10-13 Thread Michael Paquier
psql: Fix \watch when using interval values less than 1ms Attempting to use an interval of time less than 1ms would cause \watch to hang. This was confusing, so let's change the logic so as an interval lower than 1ms behaves the same as 0. Comments are added to mention that the internals of do_w

pgsql: psql: Fix \watch when using interval values less than 1ms

2024-10-13 Thread Michael Paquier
psql: Fix \watch when using interval values less than 1ms Attempting to use an interval of time less than 1ms would cause \watch to hang. This was confusing, so let's change the logic so as an interval lower than 1ms behaves the same as 0. Comments are added to mention that the internals of do_w

pgsql: psql: Fix \watch when using interval values less than 1ms

2024-10-13 Thread Michael Paquier
psql: Fix \watch when using interval values less than 1ms Attempting to use an interval of time less than 1ms would cause \watch to hang. This was confusing, so let's change the logic so as an interval lower than 1ms behaves the same as 0. Comments are added to mention that the internals of do_w