Re: "history" key in pgsql - Mailing list pgsql-general

From Oliver Elphick
Subject Re: "history" key in pgsql
Date
Msg-id 1028795714.31339.46.camel@linda
Whole thread Raw
In response to "history" key in pgsql  ("Alex Cheung Tin Ka" <tkcheung@vtc.edu.hk>)
List pgsql-general
On Thu, 2002-08-08 at 09:15, Alex Cheung Tin Ka wrote:
> Hi all,
>     I have some difficulties on typing the querys in the pgsql console
environment. once I type something wrong I should delete the whole line
and type in again.  I would like to know is there any tools that could
make it more like the "bash" shell environment.  Using the arrow key
there in the pgsql.
>

The feature you want is there already, provided that the readline
library is available when PostgreSQL is compiled.  Install the readline
development files and rebuild PostgreSQL.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Ye lust, and have not; ye kill, and desire to have,
      and cannot obtain; ye fight and war, yet ye have not,
      because ye ask not."            James 4:2


pgsql-general by date:

Previous
From: Stephane Bortzmeyer
Date:
Subject: Re: "history" key in pgsql
Next
From: "Martina Mostert"
Date:
Subject: C-function and query