Re: XX000: tuple concurrently deleted during DROP STATISTICS

Поиск
Список
Период
Сортировка
Искать
От
Tomas Vondra
Тема
Re: XX000: tuple concurrently deleted during DROP STATISTICS
Дата
Msg-id
3e283481-b8ed-523f-ae4a-d9580e006f88@enterprisedb.com
Ответ на
Список
Дерево обсуждения
XX000: tuple concurrently deleted during DROP STATISTICS Justin Pryzby <pryzby@telsasoft.com>
Re: XX000: tuple concurrently deleted during DROP STATISTICS Tomas Vondra <tomas.vondra@enterprisedb.com>
Re: XX000: tuple concurrently deleted during DROP STATISTICS Tom Lane <tgl@sss.pgh.pa.us>
Re: XX000: tuple concurrently deleted during DROP STATISTICS Tomas Vondra <tomas.vondra@enterprisedb.com>
Re: XX000: tuple concurrently deleted during DROP STATISTICS Tom Lane <tgl@sss.pgh.pa.us>
Re: XX000: tuple concurrently deleted during DROP STATISTICS Tomas Vondra <tomas.vondra@enterprisedb.com>
Re: XX000: tuple concurrently deleted during DROP STATISTICS Tomas Vondra <tomas.vondra@enterprisedb.com>
I've pushed a cleaned up version of the fix.

I had to make some adjustments in the backbranches, because the way we
store the analyzed statistics evolved, and RemoveStatisticsById() used
to do everything. I ended up introducing RemoveStatisticsDataById() in
the backbranches too, but only as a static function - that makes the
code much cleaner.

regards


-- 
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления
От: Jinjing Zhou
Дата:
От: Thomas Munro
Дата:
FAQ