Re: psql and readline

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: psql and readline
Дата
Msg-id Pine.LNX.4.44.0301092039320.29178-100000@localhost.localdomain
обсуждение исходный текст
Ответ на psql and readline  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы Re: psql and readline  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
Список pgsql-hackers
Christopher Kings-Lynne writes:

> Is there any way of making the 'up' arrow retrieve all of the last multiline
> query, instead of just the last line?

There is nothing technical that should prevent you from implementing it.
But you need to come up with a reasonable system to keep the history
straight if meta commands are mixed with multiline commands, such as

select *
\x
from foo;

-- 
Peter Eisentraut   peter_e@gmx.net



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Execute command type
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: psql and readline