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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Greg Sabino Mullane <htamfids@gmail.com>
Cc: Daniel Gustafsson <daniel@yesql.se>, Masahiro Ikeda <ikedamsh@oss.nttdata.com>, Kirill Reshke <reshkekirill@gmail.com>, Heikki Linnakangas <hlinnaka@iki.fi>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-03-15T06:29:24Z
Lists: pgsql-hackers
On Fri, Mar 14, 2025 at 09:11:15AM -0400, Greg Sabino Mullane wrote:
> New patch looks good. TIL I learned you can even use things like
> 
> \set WATCH_INTERVAL 0xAp-4
> 
> :)

You have taste.
--
Michael

Commits

  1. psql: Fix incorrect equality comparison

  2. psql: Make test robust against locale variations

  3. psql: Make default \watch interval configurable