git.postgresql.org Git - postgresql.git/commit
Sun, 1 May 2011 21:57:40 +0000 (17:57 -0400)
Sun, 1 May 2011 21:57:40 +0000 (17:57 -0400)
commit fb69fd176aaa8eab0315c4f891297c03c0b5d825
Make CLUSTER lock the old table's toast table before copying data.
We must lock out autovacuuming of the old toast table before computing the
OldestXmin horizon we will use. Otherwise, autovacuum could start on the
toast table later, compute a later OldestXmin horizon, and remove as DEAD
toast tuples that we still need (because we think their parent tuples are
only RECENTLY_DEAD). Per further thought about bug #5998.
This is the main PostgreSQL git repository.
RSS
Atom