pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: External psql editor
Date: Fri, 29 Apr 2022 14:13:47 -0700 (PDT)
Message-ID: <4bbf1b8-1510-d8e-c980-194d4d5e30@appl-ecosys.com> (raw)
In-Reply-To: <CAKFQuwYvgVPfq1BT7oY4mmRjcFo-R9L4fZvzgOQ=bogRzHDTNA@mail.gmail.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>
	<3d1ce18c-8ba3-7ecd-4f9d-98ba959ea6ac@wi3ck.info>
	<d22c777-74f7-b1bd-5c17-5349b36e42@appl-ecosys.com>
	<CAKFQuwYvgVPfq1BT7oY4mmRjcFo-R9L4fZvzgOQ=bogRzHDTNA@mail.gmail.com>

On Fri, 29 Apr 2022, David G. Johnston wrote:

> You type "insert", realize you want an editor for this, hit enter
> (multi-line mode is psql), type \e, hit enter again, your editor appears
> with "insert" already in place from the query buffer. Upon returning you
> are given a new buffer with the contents of whatever you typed into the
> editor pasted in.

Thank you, David.

Rich





view thread (26+ messages)  latest in thread

Message-ID: <4bbf1b8-1510-d8e-c980-194d4d5e30@appl-ecosys.com>
Permalink:  ../4bbf1b8-1510-d8e-c980-194d4d5e30@appl-ecosys.com/
Also on:    postgresql.org/message-id/4bbf1b8-1510-d8e-c980-194d4d5e30@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: <4bbf1b8-1510-d8e-c980-194d4d5e30@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> <3d1ce18c-8ba3-7ecd-4f9d-98ba959ea6ac@wi3ck.info> <d22c777-74f7-b1bd-5c17-5349b36e42@appl-ecosys.com> <CAKFQuwYvgVPfq1BT7oY4mmRjcFo-R9L4fZvzgOQ=bogRzHDTNA@mail.gmail.com> <4bbf1b8-1510-d8e-c980-194d4d5e30@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