Re: psql and readline - Mailing list pgsql-hackers

From Gavin Sherry
Subject Re: psql and readline
Date
Msg-id Pine.LNX.4.21.0301082314260.19559-100000@linuxworld.com.au
Whole thread Raw
In response to psql and readline  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses Re: psql and readline  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
On Wed, 8 Jan 2003, 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...

When you say multiline do you mean this:

template1=$ select * from
template1-$ abc a
template1-$ where a.id=1;

or a situation where the query text exceeds the terminal width and wraps
to the next line? If the latter, see if horizontal-scroll-mode is set to
off in your ~/.inputrc. If the former, that sounds kind of elaborate and
to wrong way to do things.

> 
> Chris

Gavin




pgsql-hackers by date:

Previous
From: Ian Barwick
Date:
Subject: Re: psql and readline
Next
From: Greg Copeland
Date:
Subject: Re: redo error?