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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: 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: 2024-10-13 02:38:12
Message-ID: ZwsylP74buqjPUVN@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Oct 10, 2024 at 09:43:27AM +0200, Daniel Gustafsson wrote:
> I'm not sure I follow, it's true that the unit is seconds but the patch doesn't
> change the ability to use fractions of a second that we already support today.
>
> db=# \echo :WATCH_INTERVAL
> 2
> db=# \set WATCH_INTERVAL 0.1
> db=# \echo :WATCH_INTERVAL
> 0.1
> db=# select 1;
> ?column?
> ----------
> 1
> (1 row)
>
> Or did I misunderstand your email?

Nope, I just got it wrong. No need to bother about my previous
message :)
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-10-13 03:04:23 Re: \watch 0 or \watch 0.00001 doesn't do what I want
Previous Message Noah Misch 2024-10-13 00:45:11 Re: Inval reliability, especially for inplace updates