Filter:

Commits on June 06, 2009

Commits3 commits
0Author
3Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterImprove the IndexVacuumInfo/IndexBulkDeleteResult API to allow somewhat sane behavior in cases where we don't know the heap tuple count accurately; in particular partial vacuum, but this also makes the API a bit more useful for ANALYZE. This patch adds "estimated_count" flags to both structs so that an approximate count can be flagged as such, and adjusts the logic so that approximate counts are not used for updating pg_class.reltuples.
32ea2363
master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more
No linked threadJun 06, 2009
CommitterMove variable declaration to avoid 'unused variable' warning when the ifdef doesn't trigger. Not worth back-patching. Per buildfarm reports.
af98bb2a
master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more
No linked threadJun 06, 2009
CommitterFix a serious bug introduced into GIN in 8.4: now that MergeItemPointers() is supposed to remove duplicate heap TIDs, we have to be sure to reduce the tuple size and posting-item count accordingly in addItemPointersToTuple(). Failing to do so resulted in the effective injection of garbage TIDs into the index contents, ie, whatever happened to be in the memory palloc'd for the new tuple. I'm not sure that this fully explains the index corruption reported by Tatsuo Ishii, but the test case I'm using no longer fails.
356eea24
master8.4rc1REL_19_STABLE8.4rc1REL_18_STABLE8.4rc1REL_17_STABLE8.4rc1REL_16_STABLE8.4rc1REL_15_STABLE8.4rc1REL_14_STABLE8.4rc1REL_13_STABLE8.4rc1+16 more
No linked threadJun 06, 2009