Re: proposal - psql - use pager for \watch command

vignesh C <vignesh21@gmail.com>

From: vignesh C <vignesh21@gmail.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2021-07-12T16:11:51Z
Lists: pgsql-hackers
On Mon, Jul 12, 2021 at 4:29 AM Thomas Munro <thomas.munro@gmail.com> wrote:
>
> On Sun, Jul 11, 2021 at 1:18 AM vignesh C <vignesh21@gmail.com> wrote:
> > On Wed, May 12, 2021 at 5:45 PM Pavel Stehule <pavel.stehule@gmail.com> wrote:
> > > looks so with your patch psql doesn't work on ms
>
> Here's a fix for Windows.  The pqsignal() calls are #ifdef'd out.  I
> also removed a few lines that were added after commit 3a513067 but
> aren't needed anymore after fae65629.

Thanks for fixing the comments, CFbot also passes for the same. I have
changed the status back to "Ready for Committer".

Regards,
Vignesh



Commits

  1. Fix \watch's interaction with libedit on ^C.

  2. Add PSQL_WATCH_PAGER for psql's \watch command.

  3. psql: Show all query results by default

  4. Add a comment warning against use of pg_usleep() for long sleeps.