Re: [HACKERS] psql history buffer. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] psql history buffer.
Date
Msg-id 20894.939827622@sss.pgh.pa.us
Whole thread Raw
In response to psql history buffer.  (Nigel Tamplin <nigel@metica.com>)
List pgsql-hackers
Nigel Tamplin <nigel@metica.com> writes:
> Are there any libraries required by pgsql that maybe are present on some
> machines and not others hence the different behaviour?

Precisely.  If the GNU readline library is not present when psql is
configured/built, you don't get history.

IIRC, some people have been burnt because they have installed
libreadline.a (or .so), but not readline.h.  You need both, or
configure will decide to omit the feature.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] sort on huge table
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Outline for PostgreSQL book