Re: psql possible TODO

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql possible TODO
Дата
Msg-id 11397.1165354360@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: psql possible TODO  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: psql possible TODO  (Bruce Momjian <bruce@momjian.us>)
Re: psql possible TODO  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
"Joshua D. Drake" <jd@commandprompt.com> writes:
>> But lastly, do we need this at all?  It seems like a relatively awkward,
>> highly error-prone way to do what you can do today with control-P and
>> re-execute.

> If you mean control-P as in "paste" then I would say... get your hands
> off the mouse. The mouse is counter productive and it is faster to do
> this:

No, I mean control-P as in "recall the previous entry".  What you showed
takes *more* work to recall a recent entry than hitting control-P a few
times.  It has vastly greater chance of error, too, ie, executing the
wrong command for lack of any feedback about what it is you're really
about to execute.  I will grant that control-P isn't a good way to
recall an entry from dozens or hundreds of commands ago, but that's what
control-R is for; and I don't see that a command number would help any
for that anyway.

> Just like bash.

What we have is just like bash --- at least the parts of it that I use.
        regards, tom lane


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Double entries in log for page slots in beta3
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: psql possible TODO