Re: XX000: tuple concurrently deleted during DROP STATISTICS - Mailing list pgsql-hackers

From Tomas Vondra
Subject Re: XX000: tuple concurrently deleted during DROP STATISTICS
Date
Msg-id 3e283481-b8ed-523f-ae4a-d9580e006f88@enterprisedb.com
Whole thread Raw
In response to Re: XX000: tuple concurrently deleted during DROP STATISTICS  (Tomas Vondra <tomas.vondra@enterprisedb.com>)
List pgsql-hackers
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 by date:

Previous
From: "Jinjing Zhou"
Date:
Subject: Inquiry on Generating Bitmaps from Filter Conditions in Index Scans
Next
From: Thomas Munro
Date:
Subject: Re: WaitEventSet resource leakage