Re: pgsql: Extended statistics on expressions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pgsql: Extended statistics on expressions
Дата
Msg-id 20210331170828.GA26795@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: pgsql: Extended statistics on expressions  (Tomas Vondra <tomas.vondra@enterprisedb.com>)
Ответы Re: pgsql: Extended statistics on expressions  (Tomas Vondra <tomas.vondra@enterprisedb.com>)
Список pgsql-committers
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



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: pgsql: Extended statistics on expressions
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: pgsql: Extended statistics on expressions