Compile file if using readline-4.2 (PostGres 7.1)

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Compile file if using readline-4.2 (PostGres 7.1)
Date: 2001-04-23 10:37:24
Message-ID: 200104231037.f3NAbOO44679@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Laurent Faillie (l_faillie(at)yahoo(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-04-23 13:52:49 Re: Compile file if using readline-4.2 (PostGres 7.1)
Previous Message Palle Girgensohn 2001-04-23 02:25:10 Re: select a.name ... union select a.name ... order by a.name fails in 7.1