Re: \watch 0 or \watch 0.00001 doesn't do what I want - Mailing list pgsql-hackers

From Srinath Reddy Sadipiralla
Subject Re: \watch 0 or \watch 0.00001 doesn't do what I want
Date
Msg-id 192719b5521.d5ac74b185201.6145494442517942753@zohocorp.com
Whole thread Raw
In response to \watch 0 or \watch 0.00001 doesn't do what I want  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers




---- On Wed, 09 Oct 2024 19:08:56 +0530 Heikki Linnakangas <hlinnaka@iki.fi> wrote ---
 
Then I tried setting the delay really small, but that didn't do what I
wanted either:

postgres=# \watch 0.00001
Wed 09 Oct 2024 16:36:45 EEST (every 1e-05s)

?column?
----------
1
(1 row)

^C

It runs the query just once and then hangs forever, until I hit CTRL-C
to cancel.

hi heikki,but i am in pg 14.7 and the query is running perfectly without getting stuck.

Regards,
Srinath Reddy Sadipiralla
Member Technical Staff
ZOHO




pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Allow default \watch interval in psql to be configured
Next
From: Zhang Mingli
Date:
Subject: Re: Use MAX_PARALLEL_WORKER_LIMIT consistently in guc_tables.c