Re: "history" key in pgsql

From: Stephane Bortzmeyer <bortzmeyer(at)nic(dot)fr>
To: Alex Cheung Tin Ka <tkcheung(at)vtc(dot)edu(dot)hk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: "history" key in pgsql
Date: 2002-08-08 08:26:02
Message-ID: 20020808082602.GB3059@nic.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Aug 08, 2002 at 04:15:33PM +0800,
Alex Cheung Tin Ka <tkcheung(at)vtc(dot)edu(dot)hk> wrote
a message of 43 lines which said:

> 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.

pgsql has readline support (eaxctly the same library as bash). Your
PostgreSQL was probably compiled without this option. You compiled it
yourself? If so, compile again with --enable-readline (you will need
the readline library and its development environment).

(The Debian package of PostgreSQL has readline support
out-of-the-box. One more reason to thanks Oliver.)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message mark Kirkwood 2002-08-08 08:27:44 Linux Largefile Support In Postgresql RPMS
Previous Message Stephane Bortzmeyer 2002-08-08 08:22:41 Trigger which fires on commit? (Multi-table intergrity constraint)