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

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal - psql - use pager for \watch command
Date: 2021-03-22 04:09:43
Message-ID: CAFj8pRBqB=Ajev7JDwnuLTdBvAXyWiegnUEx+PqxV=rpZCL9tg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

po 22. 3. 2021 v 4:55 odesílatel Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
napsal:

> On Sun, Mar 21, 2021 at 10:38 PM Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
> wrote:
> > Can somebody help me (with access on macos0 with debugging this issue?
>
> I'll try to figure it out, but maybe after the code freeze. I started
> my programming career writing curses software a million years ago on a
> couple of extinct Unixes... I might even be able to remember how it
> works. This is not a problem for committing the PSQL_WATCH_PAGER
> patch, I just mentioned it here because I thought that others might
> try it out on a Mac and be confused.
>

Thank you.

probably there will not be an issue inside ncurses - the most complex part
of get_event is polling of input sources - tty and some other. The pspg
should not to stop there on tty reading.

Regards

Pavel

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message tsunakawa.takay@fujitsu.com 2021-03-22 04:18:41 RE: Disable WAL logging to speed up data loading
Previous Message Thomas Munro 2021-03-22 03:55:16 Re: proposal - psql - use pager for \watch command