pá 12. 5. 2023 v 21:08 odesílatel Tom Lane <tgl@sss.pgh.pa.us> napsal:
I wrote: > Pavel Stehule <pavel.stehule@gmail.com> writes: >> Except for testing, using pager in non-interactive mode makes no sense.
> Agreed. Let's solve this by inserting isatty tests in psql, rather > than hacking the test environment.
Here's a proposed patch for this. I noticed that another memo the PSQL_WATCH_PAGER patch had not gotten was the lesson learned in commit 18f8f784c, namely that it's a good idea to ignore empty or all-blank settings.