Re: BUG #15705: psql autocompletion is not always correct with latest libedit
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #15705: psql autocompletion is not always correct with latest libedit |
| Дата | |
| Msg-id | 31241.1553031030@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #15705: psql autocompletion is not always correct with latest libedit (PG Bug reporting form <noreply@postgresql.org>) |
| Список | pgsql-bugs |
PG Bug reporting form <noreply@postgresql.org> writes: > After updating libedit from 20170329-3.1 to 20181209-3.1 we see the > following issue in psql: > while typing "create user test encr<TAB>" I see: >> create user test encrypted\ password > (note \ before space) > The issue seems to be in > https://github.com/NetBSD/src/commit/47081400d868e1d6dd5629bea97c599c48404839 > - now libedit treats input as file names and escapes it accordingly. I think you need to complain to the libedit authors, not us. While I can't find any API spec anywhere for libedit's completion functionality, it seems to be meant to match GNU readline, and the GNU docs are pretty clear that the results of rl_attempted_completion_function should be taken literally. I think they injected the extra quoting at the wrong level ... regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера