Re: [current] readline breakage - Mailing list pgsql-hackers

From Alex Pilosov
Subject Re: [current] readline breakage
Date
Msg-id Pine.BSO.4.10.10106152159030.17529-100000@spider.pilosoft.com
Whole thread Raw
In response to Re: [current] readline breakage  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [current] readline breakage  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Sat, 16 Jun 2001, Peter Eisentraut wrote:

> Alex Pilosov writes:
> 
> > If USE_READLINE exists, but HAVE_RL_FILENAME_COMPLETION_FUNCTION does not,
> > -current build breaks:
> > gcc -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations
> > -I../../../src/interfaces/libpq -I../../../src/include   -c tab-complete.c
> > -o tab-complete.o
> > tab-complete.c: In function `psql_completion':
> > tab-complete.c:754: `filename_completion_function' undeclared (first use
> > in this function)
> > tab-complete.c:754: (Each undeclared identifier is reported only once
> > tab-complete.c:754: for each function it appears in.)
> >
> > I am not sure what should it be defined as when RL_FILENAME_COMPLETION is
> > not available...?
> 
> It should be in the readline.h header file.  Is this yet another case of a
> broken OpenBSD readline installation?

Yeah, sorry, my fault. OpenBSD 2.8 ships with a broken readline (dated
1996). 2.9 has a recent GNU readline. I don't think its worth supporting
2.8 readline either, but I forgot to check the archives.

-alex



pgsql-hackers by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: RE: Update on Access 97 and = NULL
Next
From: Alex Pilosov
Date:
Subject: [PATCH] inet << indexability