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 1sPnYV-006N6x-Cx for pgsql-admin@arkaria.postgresql.org; Fri, 05 Jul 2024 18:21:11 +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 1sPnYT-00CbKA-31 for pgsql-admin@arkaria.postgresql.org; Fri, 05 Jul 2024 18:21:09 +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 1sPnYS-00CbK1-OS for pgsql-admin@lists.postgresql.org; Fri, 05 Jul 2024 18:21:09 +0000 Received: from jakobs.com ([85.214.83.89] helo=rs.plausibolo.de) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sPnYR-000axj-8m for pgsql-admin@lists.postgresql.org; Fri, 05 Jul 2024 18:21:08 +0000 Received: from localhost (localhost [127.0.0.1]) by rs.plausibolo.de (Postfix) with ESMTP id 19F63380618; Fri, 5 Jul 2024 20:21:06 +0200 (CEST) Received: from rs.plausibolo.de ([127.0.0.1]) by localhost (h2367442.stratoserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ExJGEbnIM7Ir; Fri, 5 Jul 2024 20:21:05 +0200 (CEST) Received: from [192.168.147.168] (dynamic-176-007-150-253.176.7.pool.telefonica.de [176.7.150.253]) by rs.plausibolo.de (Postfix) with ESMTPSA id 6C3C3380371; Fri, 5 Jul 2024 20:21:05 +0200 (CEST) Message-ID: Date: Fri, 5 Jul 2024 20:21:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: pgsql-admin@lists.postgresql.org From: Holger Jakobs Subject: psql on Windows systems 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 Dear friends, Recently I had to use PostgreSQL on a Windows based system, and I was surprised that the psql tool behaves differently, when it comes to the functionality of the readline library. There is no tab-completion for commands or schema/view/table names. Also, browsing through previous commands within the history is different from the psql version on Linux systems. Only single lines, not complete commands show up in the history. This may be due to some library differences, but wouldn't it be possible to link some powerful readline and tab-completion libraries also on Windows systems? Maybe it's a question for psql developers, should I write on a different list? Kind Regards, Holger -- Holger Jakobs, Bergisch Gladbach