Re: psql and readline

Поиск
Список
Период
Сортировка
От Gavin Sherry
Тема Re: psql and readline
Дата
Msg-id Pine.LNX.4.21.0301082314260.19559-100000@linuxworld.com.au
обсуждение исходный текст
Ответ на psql and readline  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы Re: psql and readline  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список 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 по дате отправления:

Предыдущее
От: Ian Barwick
Дата:
Сообщение: Re: psql and readline
Следующее
От: Greg Copeland
Дата:
Сообщение: Re: redo error?