Re: proposal - psql - use pager for \watch command
Pavel Stehule <pavel.stehule@gmail.com>
From: Pavel Stehule <pavel.stehule@gmail.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2021-03-22T04:09:43Z
Lists: pgsql-hackers
po 22. 3. 2021 v 4:55 odesílatel Thomas Munro <thomas.munro@gmail.com> napsal: > On Sun, Mar 21, 2021 at 10:38 PM Pavel Stehule <pavel.stehule@gmail.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
Commits
-
Fix \watch's interaction with libedit on ^C.
- 7c5953b7b5dc 10.22 landed
- 21ed12b14a32 11.17 landed
- 09224a35cdaa 12.12 landed
- e5b5b4448ce0 13.8 landed
- ab7fef0acfbd 14.5 landed
- 31b485f883a7 15.0 landed
- 21267b647719 16.0 landed
-
Add PSQL_WATCH_PAGER for psql's \watch command.
- 7c09d2797ecd 15.0 landed
-
psql: Show all query results by default
- 3a5130672296 14.0 cited
-
Add a comment warning against use of pg_usleep() for long sleeps.
- 8c1a71d36f5d 9.4.0 cited