Auto completion in psql

Started by Francisco Reyesover 22 years ago3 messagesgeneral
Jump to latest
#1Francisco Reyes
lists@natserv.com

How does line completion gets to psql?
At my FreeBSD machines when I build the PostgreSQL port I have always had
line completion. Now I need to do some work on a Linux SUSE machine (which
I don't administer) and psql doesn't have line completion.

The person that manages the machine installed from sources.

#2Richard Huxton
dev@archonet.com
In reply to: Francisco Reyes (#1)
Re: Auto completion in psql

On Tuesday 29 July 2003 16:58, Francisco Reyes wrote:

How does line completion gets to psql?
At my FreeBSD machines when I build the PostgreSQL port I have always had
line completion. Now I need to do some work on a Linux SUSE machine (which
I don't administer) and psql doesn't have line completion.

The person that manages the machine installed from sources.

You probably need readline-devel package installed at compile time.
--
Richard Huxton
Archonet Ltd

#3Ian Lawrence Barwick
barwick@gmail.com
In reply to: Francisco Reyes (#1)
Re: Auto completion in psql

On Tuesday 29 July 2003 17:58, Francisco Reyes wrote:

How does line completion gets to psql?
At my FreeBSD machines when I build the PostgreSQL port I have always had
line completion. Now I need to do some work on a Linux SUSE machine (which
I don't administer) and psql doesn't have line completion.

The person that manages the machine installed from sources.

It needs to be (re)compiled with readline support, and you will
need the readline headers (SuSE provides a readline-devel rpm).

Ian Barwick
barwick@gmx.net