Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tid2E-000XsU-PB for pgsql-general@arkaria.postgresql.org; Thu, 13 Feb 2025 17:29:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tid2C-00BMmG-M9 for pgsql-general@arkaria.postgresql.org; Thu, 13 Feb 2025 17:29:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tid2C-00BMm7-B9 for pgsql-general@lists.postgresql.org; Thu, 13 Feb 2025 17:29:57 +0000 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tid2A-000eM9-1q for pgsql-general@lists.postgresql.org; Thu, 13 Feb 2025 17:29:56 +0000 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id 6D88A11400EC; Thu, 13 Feb 2025 12:29:53 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Thu, 13 Feb 2025 12:29:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1739467793; x=1739554193; bh=NUcXO6mkU0/X1GEfNieeSElHOVU56BJ82fuBtBWIZ6M=; b= TQrKQn4//yElUfOQCD6bAGKnedr3jXf4iskYEt1kBxDKjDb43kc+DxK9nxQVDtzp 3FMpZNiLd7aYowyBdoHri/LcNA8rAUzLv+3JzD6rByTMkTpyms0h9QlGaJ8RGvGO dqbIfIuXDzO1ofKNpqkk8gb0LsXGlNH7yvj62xZ5c/fq9rDH0gIfA33yGh033btC CDRnjfpOcvinr3LpgdWJiQfFMAcJJczNoKe+yv3i8xkc7h6fFNff4lYnvyQyreEy r7feS+VmEYyXzP+y5rxSmJ3KzC5mN/ED3O2xDxJ0LXGnv5ytE3lcBDQY2WLyAaLy YbfVB0CIq1bqmV7nTBmGlA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1739467793; x=1739554193; bh=N UcXO6mkU0/X1GEfNieeSElHOVU56BJ82fuBtBWIZ6M=; b=gzUPCvWEwJAThI8wD RfFYw9+ZKwX7v7pZPW7GQZDPx1QgzgRXcPPDL67j4iZJtUyI4V6qsmVl8FAwa2H4 srZb5mpJfMFL6X3QR4WOKrlRrLsklIEJUWK4ykRfzGiu2Eh6A3QpZgv2extHW4M3 eAHmwCjtEW2gBXVEjqG/vAU9KA9KHJzrH5TtvBanVlwoaiy9XEQ2xnCM8K8A+veK QQTbzMPy+bKE3rr+NJXEp/Y14tQajJMyo74R5CAqj/UFrYXP+8TTPBHZcWeASRPr MgprB2Reb2dex2Kg87taCNbz8tXRlIoMkyJPqDBSVPwGX6nLQKAgyk3UywuXTe+j PuyYw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdegjeefkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgg gfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgv rhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrg htthgvrhhnpeekfeehuddvjeeigfeifeejtdduudffledvfeelheeftdeiffeugfdvkeel gedtvdenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgv rhesrghklhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtph houhhtpdhrtghpthhtohepvhhvrdhlihhsthhsseifrghnrgguohhordhfrhdprhgtphht thhopehpghhsqhhlqdhgvghnvghrrghlsehlihhsthhsrdhpohhsthhgrhgvshhqlhdroh hrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Feb 2025 12:29:52 -0500 (EST) Message-ID: Date: Thu, 13 Feb 2025 09:29:52 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: psql command line editing To: Vincent Veyron , pgsql-general@lists.postgresql.org References: <61255ab-6249-1226-7db6-4ecc3e4c127b@appl-ecosys.com> <3370941.1739388555@sss.pgh.pa.us> <54e9e43e-935a-4871-89b1-291a7fb076a3@gmail.com> <3471303.1739395281@sss.pgh.pa.us> <20250213182025.f801fe10ae24fb1e8e0db378@wanadoo.fr> Content-Language: en-US From: Adrian Klaver In-Reply-To: <20250213182025.f801fe10ae24fb1e8e0db378@wanadoo.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2/13/25 09:20, Vincent Veyron wrote: > On Wed, 12 Feb 2025 16:21:21 -0500 > Tom Lane wrote: > > >> I do have >> >> export EDITOR=emacs >> >> Possibly libreadline is reacting to that, but I've not checked >> into it. >> > > Emacs combinations work on my machine without it. See my answer here: https://www.postgresql.org/message-id/4e1966c1-1f24-47e5-9c87-8cf466216b6b%40aklaver.com for why. -- Adrian Klaver adrian.klaver@aklaver.com