Re: RE: One last thing... psql and readline

From: Mark Dalphin <mdalphin(at)amgen(dot)com>
To: "Michael S(dot) Kelly" <michaelk(at)axian(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: RE: One last thing... psql and readline
Date: 2000-05-02 23:16:29
Message-ID: 390F61CD.CC4C78E@amgen.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I don't really follow how configure works (yet), however, I think this may be an
"OR" rather than an "AND". I believe (!) that different version of readline did
this differently and that is what is being checked for.

Mark

"Michael S. Kelly" wrote:

> I've got the same problem with readline and psql using 7.0 RC1.
>
> I found that there was something odd when ran configure. Here's the
> readline stuff I grepped out of config.cache:
>
> ac_cv_header_readline_h=${ac_cv_header_readline_h='no'}
> ac_cv_header_readline_history_h=${ac_cv_header_readline_history_h='yes'}
> ac_cv_header_readline_readline_h=${ac_cv_header_readline_readline_h='yes'}
> ac_cv_lib_readline_main=${ac_cv_lib_readline_main='yes'}
> ac_cv_lib_readline_using_history=${ac_cv_lib_readline_using_history='yes'}
>
> Notice that the first line still says "no". Looks to me like it wants to
> find readline.h in /usr/include, as well as, /usr/include/readline. Could
> this be the source of the problem?
>
> -=michael=-
>
> *****************************************************
> * Michael S. Kelly
> * 4800 SW Griffith Dr., Ste. 202
> * Beaverton, OR 97005 USA
> * voice: (503)644-6106 x122 fax: (503)643-8425
> * <michaelk(at)axian(dot)com>
> * http://www.axian.com/
> *****************************************************
> * Axian: Software Consulting and Training
> *****************************************************
>
> -----Original Message-----
> From: Steve Wolfe [mailto:steve(at)iboats(dot)com]
> Sent: Thursday, April 20, 2000 9:51 AM
> To: pgsql-general(at)postgresql(dot)org
> Subject: One last thing... psql and readline
>
> One last problem - after upgrading to 6.5.3, psql no longer seems to be
> using the readline stuff for going through the command history, all we get
> are the funky control characters ("^[[A^[[A", etc.) Any info on how to
> make it work?
>
> Oh, yes, it seems like 6.5.3 is more strict about not allowing you to use
> reserved words for field names. Some nimrod had created a table with field
> names 'time' and 'date', boy, did that make trying to restore fun, fun,
> fun.....
>
> steve

--
Mark Dalphin email: mdalphin(at)amgen(dot)com
Mail Stop: 29-2-A phone: +1-805-447-4951 (work)
One Amgen Center Drive +1-805-375-0680 (home)
Thousand Oaks, CA 91320 fax: +1-805-499-9955 (work)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Cook 2000-05-02 23:24:59 Re: postgresql7.0 jdbc driver
Previous Message Alfred Perlstein 2000-05-02 23:15:31 Re: Return from timestamp column