Re: psql and readline - Mailing list pgsql-hackers

From Peter Mount
Subject Re: psql and readline
Date
Msg-id Pine.LNX.4.44.0301100715130.2164-100000@localhost.localdomain
Whole thread Raw
In response to Re: psql and readline  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: psql and readline  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
List 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




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: EXPLAIN EXECUTE
Next
From: "Ross J. Reedstrom"
Date:
Subject: Re: psql and readline