Re: External psql editor

From: Reid Thompson <jreidthompson(at)nc(dot)rr(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: External psql editor
Date: 2022-04-29 19:27:08
Message-ID: 972d9c5f4293b858a5b505e6af8debd1ca16cf3c.camel@nc.rr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 2022-04-29 at 11:10 -0700, Rich Shepard wrote:
> On Fri, 29 Apr 2022, Jan Wieck wrote:
>
> > Not that I know of. \e starts the external editor and you have to
> > save and
> > exit that editor to get back to psql in order to execute it. IMHO
> > the
> > whole construct has very limited usability.
>
> Jan,
>
> I tried, unsuccessily, to use \e. Entering it while a command is
> displayed
> does nothing. So I'm doing something wrong.
>
> I'll continue using character-by-character movement.
>
> Thanks again,
>
> Rich
>
>

https://linuxgazette.net/issue14/bashtip.html may of of use.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mladen Gogala 2022-04-29 19:50:54 Re: External psql editor
Previous Message Jan Wieck 2022-04-29 18:21:22 Re: External psql editor