Thread: Auto completion in psql

Auto completion in psql

From
Francisco Reyes
Date:
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.


Re: Auto completion in psql

From
Richard Huxton
Date:
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

Re: Auto completion in psql

From
Ian Barwick
Date:
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