Re: psql and readline

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql and readline
Date: 2003-01-08 12:17:38
Message-ID: Pine.LNX.4.21.0301082314260.19559-100000@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Copeland 2003-01-08 13:07:45 Re: redo error?
Previous Message Ian Barwick 2003-01-08 12:14:58 Re: psql and readline