Re: Converting tab-complete.c's else-if chain to a switch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Converting tab-complete.c's else-if chain to a switch
Дата
Msg-id 2646655.1728576740@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Converting tab-complete.c's else-if chain to a switch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com> writes:
> bd1276a3c9 seems to have introduced a segfault when trying to complete
> a word that doesn't have any match. For example, 'postgres=# z\t' will
> yield the following backtrace:

Interesting --- it seems to depend on which readline version you're
using, because I see a crash with current MacPorts' libreadline
but not with RHEL8's.  Thanks for the report and patch!

            regards, tom lane



В списке pgsql-hackers по дате отправления: