Re: External psql editor - Mailing list pgsql-general

From Jan Wieck
Subject Re: External psql editor
Date
Msg-id ce8ee8c0-cb6b-c114-47be-275730af91de@wi3ck.info
Whole thread Raw
In response to Re: External psql editor  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: External psql editor  (Rich Shepard <rshepard@appl-ecosys.com>)
Re: External psql editor  (Mladen Gogala <gogala.mladen@gmail.com>)
List pgsql-general
On 4/29/22 13:13, Rich Shepard wrote:
>> While in psql, type \e and Enter. You will have the current query buffer
>> in the editor. You can do this at the end of a partial (not yet semicolon
>> terminated) query.
> 
> Can I set it before entering any command or better yet, when I invoke psql?

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.


Regards, Jan



pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Mail list manager request
Next
From: Kris Deugau
Date:
Subject: Re: Mail list manager request