Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nldZi-0004Bs-JQ for pgsql-general@arkaria.postgresql.org; Mon, 02 May 2022 21:27:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nldZh-0003Mo-Eg for pgsql-general@arkaria.postgresql.org; Mon, 02 May 2022 21:27:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nldZh-0003Md-4c for pgsql-general@lists.postgresql.org; Mon, 02 May 2022 21:27:21 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nldZf-0005wM-47 for pgsql-general@lists.postgresql.org; Mon, 02 May 2022 21:27:20 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 242LRFEY1885616; Mon, 2 May 2022 17:27:15 -0400 From: Tom Lane To: Rich Shepard cc: pgsql-general@lists.postgresql.org Subject: Re: External psql editor In-reply-to: References: <7fef2d5f-6698-0bb5-11fe-ffd042a24ab1@wi3ck.info> <89e71248-2fa8-c6ee-9546-93286947ed3b@appl-ecosys.com> <972d9c5f4293b858a5b505e6af8debd1ca16cf3c.camel@nc.rr.com> <478d98fa-93a6-3c27-a9d4-8d735fdba18a@appl-ecosys.com> <06c83dc5167c9a1b3a724cab7e257591b5798ff9.camel@nc.rr.com> Comments: In-reply-to Rich Shepard message dated "Mon, 02 May 2022 12:18:14 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1885614.1651526835.1@sss.pgh.pa.us> Date: Mon, 02 May 2022 17:27:15 -0400 Message-ID: <1885615.1651526835@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Rich Shepard writes: > On Mon, 2 May 2022, Reid Thompson wrote: >> I believe that psql also uses readline, so my thought was that maybe these >> instructions could enable you to map the 'move' keystrokes that you're >> familiar with to be used while on the psql command line. A very quick test >> seems to indicate that you can. > Nope. No difference. Perhaps your psql is built against libedit rather than readline. regards, tom lane