Re: psql \watch 2nd argument: iteration count

From: Andrey Borodin <amborodin86(at)gmail(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, sfrost(at)snowman(dot)net, peter(dot)eisentraut(at)enterprisedb(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql \watch 2nd argument: iteration count
Date: 2023-03-09 00:22:47
Message-ID: CAAhFRxgK-zCFa9_rZN4vinQiYu762Q4k4WiAU=AHCzSXJWQQeA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 8, 2023 at 10:49 AM Nathan Bossart <nathandbossart(at)gmail(dot)com> wrote:
>
> Is there any reason to disallow 0 for the sleep argument? I often use
> commands like "\watch .1" to run statements repeatedly with very little
> time in between, and I'd use "\watch 0" instead if it was available.
>

Yes, that makes sense! Thanks!

Best regards, Andrey Borodin.

Attachment Content-Type Size
v4-0002-Add-iteration-count-argument-to-psql-watch-comman.patch application/octet-stream 6.6 KB
v4-0001-Fix-incorrect-argument-handling-in-psql-watch.patch application/octet-stream 1.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2023-03-09 00:25:12 Re: Add documentation for coverage reports with meson
Previous Message Dean Rasheed 2023-03-09 00:16:24 Re: Add error functions: erf() and erfc()