pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Psql & Readline
2+ messages / 2 participants
[nested] [flat]

* Psql & Readline
@ 2002-02-16 16:38  Josh Berkus <josh@agliodbs.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Josh Berkus @ 2002-02-16 16:38 UTC (permalink / raw)
  To: pgsql-novice@postgresql.org

Folks,
 
I have a question for *you*:
 On one of my machines, psql will not allow me to use tab-completion
 and
  the "up" key to repeat commands. On other machines, this was because
  I didn't have the "readline" library installed. However, this machine
  does have it. What else am I missing?
 
-Josh



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Psql & Readline
@ 2002-02-16 17:40  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Josh Berkus <josh@agliodbs.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2002-02-16 17:40 UTC (permalink / raw)
  To: Josh Berkus <josh@agliodbs.com>; +Cc: pgsql-novice@postgresql.org

"Josh Berkus" <josh@agliodbs.com> writes:
>  On one of my machines, psql will not allow me to use tab-completion
>  and
>  the "up" key to repeat commands. On other machines, this was because
>  I didn't have the "readline" library installed. However, this machine
>  does have it. What else am I missing?

Did you build PG from source on that machine?  If so, I'll bet that
configure didn't find libreadline.  You could check this by seeing if
the psql executable references libreadline (try "ldd", or local
equivalent, eg "chatr" on HPUX).

The most common cause of this situation is that you installed the
libreadline RPM but not the libreadline-devel RPM.  You need both
to build a readline-using app from source.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-02-16 17:40 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-02-16 16:38 Psql & Readline Josh Berkus <josh@agliodbs.com>
2002-02-16 17:40 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox