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