Re: Statistics Import and Export: difference in statistics dumped

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Statistics Import and Export: difference in statistics dumped
Дата
Msg-id 1322262.1741643606@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Statistics Import and Export: difference in statistics dumped  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Statistics Import and Export: difference in statistics dumped
Список pgsql-hackers
I wrote:
> I think what is happening is that the patch shut off CREATE
> INDEX's update of not only the table's stats but also the
> index's stats.  This seems unhelpful: the index's empty
> stats can never be what's wanted.

I looked at this more closely and realized that it's a simple matter
of having made the tests in the wrong order.  The whole stanza
should only apply when dealing with the table, not the index.

I verified that this change fixes the cross-version-upgrade
failure in local testing, and pushed it.

            regards, tom lane



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