Re: no history in psql on OpenBSD - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: no history in psql on OpenBSD
Date
Msg-id Pine.LNX.4.21.0011151742570.779-100000@peter.localdomain
Whole thread Raw
In response to no history in psql on OpenBSD  ("Denis A. Doroshenko" <d.doroshenko@omnitel.net>)
Responses Re: no history in psql on OpenBSD
List pgsql-general
Denis A. Doroshenko writes:

> i use PostgreSQL on OpenBSD (various systems, including 2.5-2.8 beta)
> and like it much. one thing, i have to make hand changes to source
> (namely to src/bin/psql/input.h) to make _existing in system_ readline's
> history working... the point is that for OpenBSD autconf finds and
> defines HAVE_READLINE_READLINE_H and HAVE_LIBREADLINE and
> HAVE_HISTORY_IN_READLINE, but there's no history.h in the system, thus
> HAVE_READLINE_HISTORY_H nor HAVE_HISTORY_H aren't defined.

But does readline.h declare the history functions?  In any case I'd
contact the package maintainer and ask him to install the history.h
file.  It belongs to readline, and OpenBSD is the only system causing
problems with this.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-general by date:

Previous
From: Lamar Owen
Date:
Subject: Re: Strange problem upgrading to 7.0.3x
Next
From: Peter Haworth
Date:
Subject: Re: char/varchar conversions