A propose to revise \watch help message - Mailing list pgsql-hackers

From Kyotaro Horiguchi
Subject A propose to revise \watch help message
Date
Msg-id 20230830.102126.1847311533056115336.horikyota.ntt@gmail.com
Whole thread Raw
Responses Re: A propose to revise \watch help message
List pgsql-hackers
Recently \watch got the following help message.

>   \watch [[i=]SEC] [c=N] [m=MIN]
>                           execute query every SEC seconds, up to N times
>                           stop if less than MIN rows are returned

The "m=MIN" can be a bit misleading. It may look like it's about
interval or counts, but it actually refers to the row number, which is
not spelled out in the line.

Would it make sense to change it to MINROWS?  There's enough room in
the line for that change and the doc already uses min_rows.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center

Attachment

pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: should frontend tools use syncfs() ?
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: A propose to revise \watch help message