RE: [EXTERNAL] Re: Previous command not accessible in postgres 17 beta - Mailing list pgsql-bugs

From Wetmore, Matthew (CTR)
Subject RE: [EXTERNAL] Re: Previous command not accessible in postgres 17 beta
Date
Msg-id PH0PR12MB54998A3DE9ABBD7FA0D50999F5C12@PH0PR12MB5499.namprd12.prod.outlook.com
Whole thread Raw
In response to Re: Previous command not accessible in postgres 17 beta  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [EXTERNAL] Re: Previous command not accessible in postgres 17 beta
List pgsql-bugs
I had a new ubuntu install (JJ)  and when I installed from source, I hit Readline error in with GCC.

I had to manually download libReadline-dev (or whatever it's exact name is)

not sure if it was mysetup, or Ubuntu or Source.

so if everything installed, Readline is probably OK.

I would look at Tom's second advice with TERM.

-----Original Message-----
From: Tom Lane <tgl@sss.pgh.pa.us>
Sent: Thursday, June 13, 2024 7:34 AM
To: usman khan <usman.khan9805@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: [EXTERNAL] Re: Previous command not accessible in postgres 17 beta

usman khan <usman.khan9805@gmail.com> 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


----------------------------------------------------------------------
CONFIDENTIALITY NOTICE: If you have received this email in error, please immediately notify the sender by e-mail at the
addressshown. This email transmission may contain confidential information.  This information is intended only for the
useof the individual(s) or entity to whom it is intended even if addressed incorrectly.  Please delete it from your
filesif you are not the intended recipient.  Thank you for your compliance.  Copyright (c) 2024 Evernorth 



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Previous command not accessible in postgres 17 beta
Next
From: "Haifang Wang (Centific Technologies Inc)"
Date:
Subject: RE: [EXTERNAL] Re: Windows Application Issues | PostgreSQL | REF # 48475607