Re: psql and readline - Mailing list pgsql-hackers

From Tom Lane
Subject Re: psql and readline
Date
Msg-id 4690.1042046343@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql and readline  ("Alexander M. Pravking" <fduch@antar.bryansk.ru>)
Responses Re: psql and readline  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
"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?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Is the 7.3.1 geometry regression test supposed to pass perfectly on Solaris 8 x86?
Next
From: Bruce Momjian
Date:
Subject: Re: psql and readline