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 1sHlWQ-00Acus-CN for pgsql-bugs@arkaria.postgresql.org; Thu, 13 Jun 2024 14:33:50 +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 1sHlWN-002HCV-B1 for pgsql-bugs@arkaria.postgresql.org; Thu, 13 Jun 2024 14:33:48 +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 1sHlWN-002HCL-2A for pgsql-bugs@lists.postgresql.org; Thu, 13 Jun 2024 14:33:47 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sHlWK-001TvB-Gp for pgsql-bugs@lists.postgresql.org; Thu, 13 Jun 2024 14:33:46 +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 45DEXguE1794495; Thu, 13 Jun 2024 10:33:42 -0400 From: Tom Lane To: usman khan cc: pgsql-bugs@lists.postgresql.org Subject: Re: Previous command not accessible in postgres 17 beta In-reply-to: References: Comments: In-reply-to usman khan message dated "Thu, 13 Jun 2024 10:30:01 +0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1794493.1718289222.1@sss.pgh.pa.us> Date: Thu, 13 Jun 2024 10:33:42 -0400 Message-ID: <1794494.1718289222@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk usman khan writes: > I wanted to let you know that I am running postgres 17 in rocky linux and > when I tries to fetch previous command by pressing up arrow key than > instead of fetching previous key, I am getting following values: > ^[[A^[[A^[[B^[[A Nothing around that has changed in Postgres. The likely cause is either that your new psql was built without readline support, or that you have the wrong TERM setting so that what your keyboard emits for up-arrow is not what readline is expecting. regards, tom lane