Re: psql possible TODO

Поиск
Список
Период
Сортировка
От Stephen Harris
Тема Re: psql possible TODO
Дата
Msg-id 20061205220816.GA31948@pugwash.spuddy.org
обсуждение исходный текст
Ответ на Re: psql possible TODO  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: psql possible TODO  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Dec 05, 2006 at 06:55:04PM -0300, Alvaro Herrera wrote:
> +1 on the !<num>, but I agree with Tom that the ! had better be a \
> command (and \! is already taken).

Extend \r maybe, so \r on it's own clears the buffer whereas \r ###
will load it with history entry ###.  Mnemonic; r=retrieve command

Silly: You could even do \r xyz and load the buffer with the last line
beginning xyz

(this would parallel the "r" command in Korn Shell which does
history in this way; "r 10" would rerun history entry 10; "r ls" would
redo the last ls command).

-- 

rgds
Stephen


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: psql possible TODO
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: psql possible TODO