On Wednesday 08 January 2003 13:02, Alexander M. Pravking wrote:
> On Wed, Jan 08, 2003 at 10:53:51AM +0100, Ian Barwick wrote:
> > On Wednesday 08 January 2003 07:55, Christopher Kings-Lynne wrote:
> > > Hi,
> > >
> > > 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 :(
Yes, but the query will remain in the psql query buffer until a different
SQL query (i.e. not a slash command) is executed. Until then
you can reedit and / or reexecute the query (with \g) as long as you like.
Ian Barwick
barwick@gmx.net