Thread

  1. Compile file if using readline-4.2 (PostGres 7.1)

    PostgreSQL Bugs List <pgsql-bugs@postgresql.org> — 2001-04-23T10:37:24Z

    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
    
    
    
  2. Re: Compile file if using readline-4.2 (PostGres 7.1)

    Tom Lane <tgl@sss.pgh.pa.us> — 2001-04-23T13:52:49Z

    pgsql-bugs@postgresql.org writes:
    > psql will not compile if using readline-4.2 because some functions has been renamed.
    
    Already fixed for 7.1.1.
    
    I do wish the readline guys would pay more attention to stability of
    their API ...
    
    			regards, tom lane