Re: pgsql: Add basic TAP tests for psql's tab-completion logic.
От | Tom Lane |
---|---|
Тема | Re: pgsql: Add basic TAP tests for psql's tab-completion logic. |
Дата | |
Msg-id | 23181.1578167938@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: pgsql: Add basic TAP tests for psql's tab-completion logic. (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: pgsql: Add basic TAP tests for psql's tab-completion logic.
|
Список | pgsql-hackers |
I wrote: > Seeing that you're also having issues with a stack involving > libtinfo.so.5, here's my theory: libtinfo version 5 is brain-dead > about whether it needs to issue cursor repositioning commands, and > tends to do so even when the cursor is in the right place already. > Version 6 fixed that, which is why we're not seeing these escape > sequences on any of the libedit-using buildfarm critters. Nope, the buildfarm just blew up that theory: Andres' critters are failing in the wake of fac1c04fe, with symptoms exactly like those of my franken-libedit build. So newer libtinfo doesn't fix it. What has to have broken those machines was the change to explicitly force TERM to "xterm". Now I'm wondering what their prevailing setting was before that. Maybe it was undef, or some absolutely vanilla thing that prevents libtinfo from thinking it can use any escape sequences at all. I'm going to go find out, because if we can use that behavior globally, it'd be a heck of a lot safer solution than the path of dealing with escape sequences explicitly. regards, tom lane
В списке pgsql-hackers по дате отправления: