Re: BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted" - Mailing list pgsql-bugs

From Dave Page
Subject Re: BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted"
Date
Msg-id AANLkTinhtG0wpz+0Rb994_cXT-RXL_k+8JnPYg5rkJDJ@mail.gmail.com
Whole thread Raw
In response to BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted"  ("Gabe Nell" <gabe@kikini.com>)
Responses Re: BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted"  (Gabe Nell <gabe@kikini.com>)
List pgsql-bugs
On Wed, Dec 29, 2010 at 7:09 PM, Gabe Nell <gabe@kikini.com> wrote:
>
> Launching psql fails:
>
> ubuntu@host:~$ /opt/PostgreSQL/9.0/bin/psql -Upostgres
> Password for user postgres:
> psql (9.0.2)
> Type "help" for help.
>
> Cannot read termcap database;
> using dumb terminal settings.
> Aborted
> ubuntu@host:~$
>
> The above works fine with 9.0.1, suggesting this is a new issue in 9.0.2. I
> tried both 32bit and 64bit, same problem. Interestingly, the problem doesn't
> repro under byobu (Ubuntu's enhanced 'screen' utility).

There was a change in 9.0.2 to use libedit instead of readline for
this (readline is GPL, which is not acceptable to some people who wish
to use Postgres in other products). One of my colleagues has tested
the issue reported and confirmed that installing the OS's termcap
package should solve the problem.


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: Re: to_timestamp returns the incorrect result for the DST fall over time.
Next
From: Gouse
Date:
Subject: Re: to_timestamp returns the incorrect result for the DST fall over time.