Compile file if using readline-4.2 (PostGres 7.1) - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Compile file if using readline-4.2 (PostGres 7.1)
Date
Msg-id 200104231037.f3NAbOO44679@hub.org
Whole thread Raw
Responses Re: Compile file if using readline-4.2 (PostGres 7.1)
List pgsql-bugs
Laurent Faillie (l_faillie@yahoo.com) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Compile file if using readline-4.2 (PostGres 7.1)

Long Description
Hello All,

psql will not compile if using readline-4.2 because some functions has been renamed.

Workaround :

I add following define in the beginning of tab-complete.c

#define completion_matches    rl_completion_matches
#define    filename_completion_function    rl_filename_completion_function

Now I have some "incompatible pointer" warning but it runs ok. (no time to trying to correct these warning :-( )

Bye

Laurent

Sample Code


No file was uploaded with this report

pgsql-bugs by date:

Previous
From: Palle Girgensohn
Date:
Subject: Re: select a.name ... union select a.name ... order by a.name fails in 7.1
Next
From: Tom Lane
Date:
Subject: Re: Compile file if using readline-4.2 (PostGres 7.1)