aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-05-01 17:57:46 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-05-01 17:57:46 -0400
commitaa719c4853ea460d5f9dae5856088205518b51a7 (patch)
treeaef6d34c55d8a11c723ab81ec059cfcb2b11db9d /src/backend/access/gist
parent6e3493e2c31be5a88fa7226faf0db7fe443f1d15 (diff)
downloadpostgresql-aa719c4853ea460d5f9dae5856088205518b51a7.tar.gz
postgresql-aa719c4853ea460d5f9dae5856088205518b51a7.zip
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.
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions