pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: External psql editor
Date: Fri, 29 Apr 2022 11:10:07 -0700 (PDT)
Message-ID: <a1d4d0ca-11bb-ee2c-a348-fb3098e21dd@appl-ecosys.com> (raw)
In-Reply-To: <ce8ee8c0-cb6b-c114-47be-275730af91de@wi3ck.info>
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>

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





view thread (26+ messages)  latest in thread

Message-ID: <a1d4d0ca-11bb-ee2c-a348-fb3098e21dd@appl-ecosys.com>
Permalink:  ../a1d4d0ca-11bb-ee2c-a348-fb3098e21dd@appl-ecosys.com/
Also on:    postgresql.org/message-id/a1d4d0ca-11bb-ee2c-a348-fb3098e21dd@appl-ecosys.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: rshepard@appl-ecosys.com
  Subject: Re: External psql editor
  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>

* 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