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

From Tom Lane
Subject Re: Converting tab-complete.c's else-if chain to a switch
Date
Msg-id 2646655.1728576740@sss.pgh.pa.us
Whole thread Raw
In response to Converting tab-complete.c's else-if chain to a switch  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Mikael Sand
Date:
Subject: Re: Build issue with postgresql 17 undefined reference to `pg_encoding_to_char' and `pg_char_to_encoding'
Next
From: Alvaro Herrera
Date:
Subject: Re: ECPG Refactor: move sqlca variable in ecpg_log()