Re: psql and readline

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: psql and readline
Дата
Msg-id 200301091505.h09F5Fl09065@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: psql and readline  (Justin Clift <justin@postgresql.org>)
Ответы Re: psql and readline  (Justin Clift <justin@postgresql.org>)
Список pgsql-hackers
Justin Clift wrote:
> Dan Langille wrote:
> <snip>
> > As this is changing existing behaviour, I think adding an optional  
> > switch to revert to the old behaviour is a good idea.
> 
> Two thoughts:
> 
> a) Is it possible to change the behavior of the history as we're 
> discussing?  Haven't heard Peter's response to this.
> 
> b) Do we really want to go to the effort of adding a switch to revert to 
> previous behaviour for something like this?  It's almost definitely a 
> win to have \e commands appear in the history, and seems a bit to 
> trivial for adding switches for.

Let's suppose I am writing a query, and then I do \e to edit the query,
and I exit the editor and return to psql.  Suppose I decide I want to
reedit, so I up arrow.  I would expect to get \e, not the query I just
edited, no?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: "Dan Langille"
Дата:
Сообщение: Re: psql and readline
Следующее
От: Justin Clift
Дата:
Сообщение: Re: psql and readline