pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedPrevious command not accessible in postgres 17 beta
4+ messages / 3 participants
[nested] [flat]
* Previous command not accessible in postgres 17 beta
@ 2024-06-13 05:30 usman khan <usman.khan9805@gmail.com>
2024-06-13 14:33 ` Re: Previous command not accessible in postgres 17 beta Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: usman khan @ 2024-06-13 05:30 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org
Dear Concerned,
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
Please look into this.
Thank You
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Previous command not accessible in postgres 17 beta
2024-06-13 05:30 Previous command not accessible in postgres 17 beta usman khan <usman.khan9805@gmail.com>
@ 2024-06-13 14:33 ` Tom Lane <tgl@sss.pgh.pa.us>
2024-06-13 15:08 ` RE: [EXTERNAL] Re: Previous command not accessible in postgres 17 beta Wetmore, Matthew (CTR) <Matthew.Wetmore@evernorth.com>
0 siblings, 1 reply; 4+ messages in thread
From: Tom Lane @ 2024-06-13 14:33 UTC (permalink / raw)
To: usman khan <usman.khan9805@gmail.com>; +Cc: pgsql-bugs@lists.postgresql.org
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* RE: [EXTERNAL] Re: Previous command not accessible in postgres 17 beta
2024-06-13 05:30 Previous command not accessible in postgres 17 beta usman khan <usman.khan9805@gmail.com>
2024-06-13 14:33 ` Re: Previous command not accessible in postgres 17 beta Tom Lane <tgl@sss.pgh.pa.us>
@ 2024-06-13 15:08 ` Wetmore, Matthew (CTR) <Matthew.Wetmore@evernorth.com>
2024-06-14 05:45 ` Re: [EXTERNAL] Re: Previous command not accessible in postgres 17 beta usman khan <usman.khan9805@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Wetmore, Matthew (CTR) @ 2024-06-13 15:08 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; usman khan <usman.khan9805@gmail.com>; +Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
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 address shown. This email transmission may contain confidential information. This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly. Please delete it from your files if you are not the intended recipient. Thank you for your compliance. Copyright (c) 2024 Evernorth
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: [EXTERNAL] Re: Previous command not accessible in postgres 17 beta
2024-06-13 05:30 Previous command not accessible in postgres 17 beta usman khan <usman.khan9805@gmail.com>
2024-06-13 14:33 ` Re: Previous command not accessible in postgres 17 beta Tom Lane <tgl@sss.pgh.pa.us>
2024-06-13 15:08 ` RE: [EXTERNAL] Re: Previous command not accessible in postgres 17 beta Wetmore, Matthew (CTR) <Matthew.Wetmore@evernorth.com>
@ 2024-06-14 05:45 ` usman khan <usman.khan9805@gmail.com>
0 siblings, 0 replies; 4+ messages in thread
From: usman khan @ 2024-06-14 05:45 UTC (permalink / raw)
To: Wetmore, Matthew (CTR) <Matthew.Wetmore@evernorth.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Hello,
Thank you for the response. It is solved now using readline library
On Thu, Jun 13, 2024 at 8:08 PM Wetmore, Matthew (CTR) <
Matthew.Wetmore@evernorth.com> wrote:
> 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 address shown. This email
> transmission may contain confidential information. This information is
> intended only for the use of the individual(s) or entity to whom it is
> intended even if addressed incorrectly. Please delete it from your files
> if you are not the intended recipient. Thank you for your compliance.
> Copyright (c) 2024 Evernorth
>
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2024-06-14 05:45 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-06-13 05:30 Previous command not accessible in postgres 17 beta usman khan <usman.khan9805@gmail.com>
2024-06-13 14:33 ` Tom Lane <tgl@sss.pgh.pa.us>
2024-06-13 15:08 ` Wetmore, Matthew (CTR) <Matthew.Wetmore@evernorth.com>
2024-06-14 05:45 ` usman khan <usman.khan9805@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox