Re: External psql editor

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: External psql editor
Дата
Msg-id 5144d65d-4af8-d2fd-f0f7-1d5877b068dc@wi3ck.info
обсуждение исходный текст
Ответ на Re: External psql editor  (Rich Shepard <rshepard@appl-ecosys.com>)
Ответы Re: External psql editor  (Rich Shepard <rshepard@appl-ecosys.com>)
Список pgsql-general
On 4/29/22 16:17, Rich Shepard wrote:
> On Fri, 29 Apr 2022, Jan Wieck wrote:
> 
>> Did you hit Enter after \e ?
> 
> Jan,
> 
> Yes. For example, I put a previous command at the prompt to be modified. It
> began with 'insert ...' so I added an initial \e to the command. psql told
> me that \einsert is not a valid command after I pressed the [Enter] key.

It is the other way around, like in


postgres-# select now()\e


That puts "select now()" into vi(1) for me.


Regards, Jan



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

Предыдущее
От: Rich Shepard
Дата:
Сообщение: Re: External psql editor
Следующее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: Replication with Patroni not working after killing secondary and starting again