Re: Possibly hard-to-read message

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: "David G. Johnston" <david.g.johnston@gmail.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2025-04-06T21:52:34Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. psql: Reword help message and docs for WATCH_INTERVAL

  2. psql: Clarify help message for WATCH_INTERVAL

  3. psql: Make default \watch interval configurable

> On 27 Mar 2025, at 02:42, David G. Johnston <david.g.johnston@gmail.com> wrote:

> On second thought, something like:
> 
> WATCH_INTERVAL: an integer number of seconds; overrides the default two second \watch interval
> 
> (not quite happy but it's close...keeps the 2s reference point)

Looking at the other variables they tend to use "if set, then" so we should
probably stick to that for this as well?  Something like the below perhaps?

        HELP0("  WATCH_INTERVAL\n"
-                 "    number of seconds \\watch by default waits between executing the query buffer\n");
+                 "    if set to an interval value, overrides the default two second \\watch interval\n");

--
Daniel Gustafsson