Re: psql and readline - Mailing list pgsql-hackers

From Dan Langille
Subject Re: psql and readline
Date
Msg-id 3E1C1A88.25733.B5D00A8@localhost
Whole thread Raw
In response to Re: psql and readline  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: psql and readline
List pgsql-hackers
On 8 Jan 2003 at 12:28, Bruce Momjian wrote:

> Tom Lane wrote:
> > "Alexander M. Pravking" <fduch@antar.bryansk.ru> writes:
> > > On Wed, Jan 08, 2003 at 10:53:51AM +0100, Ian Barwick wrote:
> > >> On Wednesday 08 January 2003 07:55, Christopher Kings-Lynne
> > >> wrote:
> > >>> Is there any way of making the 'up' arrow retrieve all of the
> > >>> last multiline query, instead of just the last line?  It's
> > >>> really annoying working with large multiline queries at the
> > >>> moment...
> > >> 
> > >> Not that I know of, but you can use \e to edit the query in your
> > >> favourite editor.
> > 
> > > Sure. But \e puts "\e" into history, instead of the query itself
> > > :(
> > 
> > Hm, so it does.  It seems like the edited query should go into
> > history, at least when you execute it.  Peter, is this fixable?
> 
> Wow, that would be a nifty trick, though they really did type \e and
> not the query the pulled in from the editor.

What about those of us who want to use \e repeatedly?  Will that be 
in the history buffer?
-- 
Dan Langille : http://www.langille.org/



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: psql and readline
Next
From: Lamar Owen
Date:
Subject: Re: [GENERAL] Have people taken a look at pgdiff yet?