pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Reid Thompson <jreidthompson@nc.rr.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: External psql editor
Date: Fri, 29 Apr 2022 15:27:08 -0400
Message-ID: <972d9c5f4293b858a5b505e6af8debd1ca16cf3c.camel@nc.rr.com> (raw)
In-Reply-To: <a1d4d0ca-11bb-ee2c-a348-fb3098e21dd@appl-ecosys.com>
References: <edf1cfa4-35bf-66bf-4de2-7a3bbcb6c5e4@appl-ecosys.com>
	<7fef2d5f-6698-0bb5-11fe-ffd042a24ab1@wi3ck.info>
	<89e71248-2fa8-c6ee-9546-93286947ed3b@appl-ecosys.com>
	<ce8ee8c0-cb6b-c114-47be-275730af91de@wi3ck.info>
	<a1d4d0ca-11bb-ee2c-a348-fb3098e21dd@appl-ecosys.com>

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.





view thread (26+ messages)  latest in thread

Message-ID: <972d9c5f4293b858a5b505e6af8debd1ca16cf3c.camel@nc.rr.com>
Permalink:  ../972d9c5f4293b858a5b505e6af8debd1ca16cf3c.camel@nc.rr.com/
Also on:    postgresql.org/message-id/972d9c5f4293b858a5b505e6af8debd1ca16cf3c.camel@nc.rr.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: jreidthompson@nc.rr.com
  Subject: Re: External psql editor
  In-Reply-To: <972d9c5f4293b858a5b505e6af8debd1ca16cf3c.camel@nc.rr.com>
  References: <edf1cfa4-35bf-66bf-4de2-7a3bbcb6c5e4@appl-ecosys.com> <7fef2d5f-6698-0bb5-11fe-ffd042a24ab1@wi3ck.info> <89e71248-2fa8-c6ee-9546-93286947ed3b@appl-ecosys.com> <ce8ee8c0-cb6b-c114-47be-275730af91de@wi3ck.info> <a1d4d0ca-11bb-ee2c-a348-fb3098e21dd@appl-ecosys.com> <972d9c5f4293b858a5b505e6af8debd1ca16cf3c.camel@nc.rr.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox