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 1ox9BY-0001Ku-Ck for pgsql-general@arkaria.postgresql.org; Mon, 21 Nov 2022 15:58:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ox9BX-0000Kx-2h for pgsql-general@arkaria.postgresql.org; Mon, 21 Nov 2022 15:58:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ox9BW-0000Ko-OI for pgsql-general@lists.postgresql.org; Mon, 21 Nov 2022 15:58:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ox9BQ-0005RO-CE for pgsql-general@lists.postgresql.org; Mon, 21 Nov 2022 15:58:13 +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 2ALFw6NM3168700; Mon, 21 Nov 2022 10:58:07 -0500 From: Tom Lane To: Kirk Wolak cc: pgsql-general@lists.postgresql.org Subject: Re: Getting PSQL in Windows to support TAB/Autocomplete via modified readline... In-reply-to: References: Comments: In-reply-to Kirk Wolak message dated "Mon, 21 Nov 2022 10:25:11 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3168698.1669046286.1@sss.pgh.pa.us> Date: Mon, 21 Nov 2022 10:58:06 -0500 Message-ID: <3168699.1669046286@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Kirk Wolak writes: > We have our team of Windows developers, leveraging PSQL. But honestly, > it feels crippled after using PSQL in Linux for any length of time. Losing > auto-complete sucks (multi-line query recall/editing is lost as well). > In researching this problem, it appears that the decision was made like > 17yrs ago, when windows did not have a realistic "terminal" type > interface. Assuming we target Windows 8.1 or higher, I believe this goes > away. It'd certainly be nice if we could use Readline on Windows. I do not think we want to buy into maintaining our own fork of Readline, if that's what you're trying to suggest. If it "just works" now, that'd be great. Otherwise, maybe you should be speaking to the Readline maintainers about what changes are needed in it? regards, tom lane