Re: psql tests hangs - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: psql tests hangs
Date
Msg-id CAFj8pRB-QzbrhSY=Uip80qdk14K9vnvMBpUhQuS0cNuKeT9Q=A@mail.gmail.com
Whole thread Raw
In response to Re: psql tests hangs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers


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.

+1

Pavel


                        regards, tom lane

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql tests hangs
Next
From: Andrew Dunstan
Date:
Subject: Re: Should CSV parsing be stricter about mid-field quotes?