Re: psql and readline

Peter Mount <peter@retep.org.uk>

From: Peter Mount <peter@retep.org.uk>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Bruce Momjian <pgman@candle.pha.pa.us>, Rod Taylor <rbt@rbt.ca>, Justin Clift <justin@postgresql.org>, Dan Langille <dan@langille.org>, Robert Treat <xzilla@users.sourceforge.net>, Hackers <pgsql-hackers@postgresql.org>
Date: 2003-01-10T07:15:34Z
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@retep.org.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