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

From Peter Eisentraut
Subject Re: [current] readline breakage
Date
Msg-id Pine.LNX.4.30.0106160113151.769-100000@peter.localdomain
Whole thread Raw
In response to [current] readline breakage  (Alex Pilosov <alex@pilosoft.com>)
Responses Re: [current] readline breakage
List pgsql-hackers
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?

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-hackers by date:

Previous
From: ncm@zembu.com (Nathan Myers)
Date:
Subject: Re: Doing authentication in backend
Next
From: "Hiroshi Inoue"
Date:
Subject: RE: Update on Access 97 and = NULL