summaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-05-01 17:57:40 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-05-01 17:57:40 -0400
commitfb69fd176aaa8eab0315c4f891297c03c0b5d825 (patch)
treef7c48257c3190cda61cb1012a355bd4154a7fb1a /src/backend/access/transam/xlog.c
parent007a6e53ace7e9f015252f14316394ef4b97ae2e (diff)
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/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions