Re: Multivariate MCV lists -- pg_mcv_list_items() seems to be broken

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Multivariate MCV lists -- pg_mcv_list_items() seems to be broken
Дата
Msg-id 17096.1555345562@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Multivariate MCV lists -- pg_mcv_list_items() seems to be broken  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Ответы Re: Multivariate MCV lists -- pg_mcv_list_items() seems to be broken  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-hackers
Dean Rasheed <dean.a.rasheed@gmail.com> writes:
> SELECT pg_mcv_list_items(stxmcv) from pg_statistic_ext WHERE stxname = 'foo_s';
> which fails with
> ERROR:  cache lookup failed for type 0

> That definitely used to work, so I'm guessing it got broken by the
> recent reworking of the serialisation code, but I've not looked into
> it.

Yeah, looks like sloppy thinking about whether or not the types array
participates in maxalign-forcing?

> There should probably be regression test coverage of that function.

+1

            regards, tom lane



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Multivariate MCV lists -- pg_mcv_list_items() seems to be broken
Следующее
От: Ashwin Agrawal
Дата:
Сообщение: Re: Zedstore - compressed in-core columnar storage