Re: no history in psql on OpenBSD

From: "Denis A(dot) Doroshenko" <d(dot)doroshenko(at)omnitel(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: no history in psql on OpenBSD
Date: 2000-11-16 06:41:22
Message-ID: 20001116084122.R26746@comrade.omnitel.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Nov 15, 2000 at 05:44:25PM +0100, Peter Eisentraut wrote:
> 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.

uhm... ok, i may understand your point, but hey, read the defines'
names and doesn't it seem to be logical if

HAVE_READLINE_READLINE_H
HAVE_LIBREADLINE
HAVE_HISTORY_IN_READLINE

are defined, then define USE_HISTORY?? the last of the three
explicitly defines there's history support...

> It belongs to readline, and OpenBSD is the only system causing
> problems with this.

yes, OpenBSD is very picky about including tons of features in the
world, and GNU's ones as well :-)

--
Denis A. Doroshenko -- VAS/IN group engineer .-. _|_ |
[Omnitel Ltd., T.Sevcenkos st. 25, Vilnius, Lithuania] | | _ _ _ .| _ |
[Phone: +370 9863207 E-mail: d(dot)doroshenko(at)omnitel(dot)net] |_|| | || |||(/_|_

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jason Davies 2000-11-16 07:36:23 Help with pg_trigger
Previous Message Paul M Foster 2000-11-16 05:22:34 Script Location