Re: pgsql: Add basic TAP tests for psql's tab-completion logic.

Peter Geoghegan <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.general
Message-ID <CAH2-Wz=mJPd5cZwUdHGQ5sQsz6X58DivewER_WQ2+bx_ZU6yGw@mail.gmail.com>
On Sat, Jan 4, 2020 at 4:14 PM Tom Lane <[email protected]> wrote:
> Um, well, that's the same behavior you were seeing before.
> So the terminfo reinstall didn't really do anything.

Sigh.

> I'm still curious about which terminfo file your psql actually
> reads if TERM is unset, and whether that file is visibly
> different from the xterm-related files.

I've found the actual problem -- it's my ~/.inputrc. Which is read in by
libreadline at some point (determined this using ltrace).

Once I comment out the following two lines from ~/.inputrc, everything
works fine on
HEAD + HEAD-unset-TERM-in-tab-completion-test.patch:

set colored-completion-prefix on
set colored-stats on

--
Peter Geoghegan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.