Re: [current] readline breakage

From: Alex Pilosov <alex(at)pilosoft(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [current] readline breakage
Date: 2001-06-16 02:13:51
Message-ID: Pine.BSO.4.10.10106152159030.17529-100000@spider.pilosoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex Pilosov 2001-06-16 03:13:07 [PATCH] inet << indexability
Previous Message Hiroshi Inoue 2001-06-16 01:05:38 RE: Update on Access 97 and = NULL