Re: Allow default \watch interval in psql to be configured

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Masahiro Ikeda <ikedamsh(at)oss(dot)nttdata(dot)com>, Kirill Reshke <reshkekirill(at)gmail(dot)com>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Allow default \watch interval in psql to be configured
Date: 2025-03-21 01:38:58
Message-ID: CAKAnmm+TPJYj2rTard_+-PDUohuw1uab4ri6Xo_=wrde3ByPeA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Mar 20, 2025 at 4:45 PM Daniel Gustafsson <daniel(at)yesql(dot)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

--
Crunchy Data - https://www.crunchydata.com
Enterprise Postgres Software Products & Tech Support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sami Imseih 2025-03-21 01:46:55 Re: Proposal - Allow extensions to set a Plan Identifier
Previous Message Hayato Kuroda (Fujitsu) 2025-03-21 01:12:26 RE: pg_recvlogical requires -d but not described on the documentation