Re: psql and readline

From: Peter Mount <peter(at)retep(dot)org(dot)uk>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Rod Taylor <rbt(at)rbt(dot)ca>, Justin Clift <justin(at)postgresql(dot)org>, Dan Langille <dan(at)langille(dot)org>, Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql and readline
Date: 2003-01-10 07:15:34
Message-ID: Pine.LNX.4.44.0301100715130.2164-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 9 Jan 2003, Peter Eisentraut wrote:

> Tom Lane writes:
>
> > The case I find interesting is where you're using plain "\e" to
> > re-edit a query interactively. If this query never gets into the
> > history buffer then you're lost: you won't be able to pull it back
> > for re-editing a second time.
>
> If you call \e again immediately then you edit the previous command.

Yes, but it's not always the last command you want :-(

Peter

--
Peter Mount
peter(at)retep(dot)org(dot)uk
http://www.retep.org.uk/
Tel/Fax: +44 (0) 1622 749439
Mobile: +44 (0) 7903 155887
US Fax: 1 435 304 5165
US Voice: 1 435 304 5165

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ross J. Reedstrom 2003-01-10 07:49:05 Re: psql and readline
Previous Message Tom Lane 2003-01-10 04:55:51 Re: EXPLAIN EXECUTE