On 2021-Mar-31, Tomas Vondra wrote:
> Thanks for the report, I'll take a look. You're right this seems like an
> out-of-bounds access, but mcv_match_expression is only expected to be
> run on expressions we know are in the statistics (because we pick the
> statistics like that). Clearly, that does not happen here, not sure why.
>
> It's quite weird that we end up running textlike(), when the statistics
> is on (double precision, boolean) columns ...
Uninitialized values somewhere? Maybe valgrind would help.
--
Álvaro Herrera 39°49'30"S 73°17'W