Re: Allow default \watch interval in psql to be configured - Mailing list pgsql-hackers

From Greg Sabino Mullane
Subject Re: Allow default \watch interval in psql to be configured
Date
Msg-id CAKAnmm+TPJYj2rTard_+-PDUohuw1uab4ri6Xo_=wrde3ByPeA@mail.gmail.com
Whole thread Raw
In response to Re: Allow default \watch interval in psql to be configured  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
On Thu, Mar 20, 2025 at 4:45 PM Daniel Gustafsson <daniel@yesql.se> wrote:
Having a watch interval of zero is IMHO somewhat nonsensical, but since it was done intentionally in 6f9ee74d45 (which I had missed) I agree that the default should support it as well. Fixed.

Yeah, I forgot about that too.  The new patch looks good except for one tiny little thing: the error should say "must be at least 0.00" or similar, instead of "must be greater than 0.00" now that we allow 0.00

Cheers,
Greg

--
Enterprise Postgres Software Products & Tech Support

pgsql-hackers by date:

Previous
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: pg_recvlogical requires -d but not described on the documentation
Next
From: Sami Imseih
Date:
Subject: Re: Proposal - Allow extensions to set a Plan Identifier