Re: 7.0 psql, readline and history.

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jeffery Collins <collins(at)onyx-technologies(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 7.0 psql, readline and history.
Date: 2000-05-17 22:04:48
Message-ID: Pine.LNX.4.21.0005172027500.349-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeffery Collins writes:

> Wanna' bet? Perhaps I had an even older version?

FWIW, it turns out that mine is actually 2.2.1.

> I don't know alot about the readline library, but perhaps it would be
> sufficient to check for the presence of "using_history" in the library
> and not bother to check for the presence of history.h?

After reviewing the old code, this is seemingly what it did. The history
functions are then used without declaring them. I should probably squeeze
a patch for this into 7.0.1. Of course, updating readline to a "sane"
version is a valid workaround as well. (And believe me, there are plenty
of "insane" versions out there that we already had to put up with.)

--
Peter Eisentraut Sernanders väg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2000-05-17 22:11:48 Re: initdb and "exit_nicely"...
Previous Message Len Morgan 2000-05-17 21:53:23 Re: why so big?