| От | Ian Barwick |
|---|---|
| Тема | Re: psql: recall previous command? |
| Дата | |
| Msg-id | 1d581afe05022123188561d56@mail.gmail.com обсуждение исходный текст |
| Ответ на | psql: recall previous command? (Neil Conway <neilc@samurai.com>) |
| Список | pgsql-hackers |
On Tue, 22 Feb 2005 15:26:52 +1100, Neil Conway <neilc@samurai.com> 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. Just checking: do you mean something like the \e and \p commands? test=> SELECT \timing Timing is off. test-> 'Hello World'; ?column? ------------- Hello World (1 row) test=> \p SELECT 'Hello World'; test=> Ian Barwick
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера