Re: External psql editor

From: Jan Wieck <jan(at)wi3ck(dot)info>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: External psql editor
Date: 2022-04-29 20:31:51
Message-ID: 5144d65d-4af8-d2fd-f0f7-1d5877b068dc@wi3ck.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter J. Holzer 2022-04-29 20:33:07 Re: Replication with Patroni not working after killing secondary and starting again
Previous Message Rich Shepard 2022-04-29 20:21:31 Re: External psql editor