Re: psql: recall previous command?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: psql: recall previous command?
Дата
Msg-id 20050222044822.GC20393@dcc.uchile.cl
обсуждение исходный текст
Ответ на psql: recall previous command?  (Neil Conway <neilc@samurai.com>)
Список pgsql-hackers
On Tue, Feb 22, 2005 at 03:26:52PM +1100, Neil Conway wrote:
> Is there a way to recall the previous command in psql? Obviously, "up 
> arrow" or Ctrl-P using readline and the default readline bindings is 
> close, but it recalls the previous _line_ of input. That is not at all 
> the same thing in the case of a multiple line command, for example.

Something else to be considered about readline behavior: prepending a #
on M-# is useless.  -- in that context would be much better, or /* if in
a multiline command.

(Just something I have had in my to-do list for a while ...)

-- 
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"La felicidad no es mañana. La felicidad es ahora"


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

Предыдущее
От: lsunley@mb.sympatico.ca
Дата:
Сообщение: Re: psql: recall previous command?
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Fwd: Apple Darwin disabled fsync?