Re: psql and readline - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: psql and readline
Date
Msg-id Pine.LNX.4.44.0301092042410.29178-100000@localhost.localdomain
Whole thread Raw
In response to Re: psql and readline  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: psql and readline  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: psql and readline  (Peter Mount <peter@retep.org.uk>)
List pgsql-hackers
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.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: psql and readline
Next
From: Peter Eisentraut
Date:
Subject: Re: IPv6 patch