[COMMITTERS] pgsql: Make CLUSTER lock the old table's toast table before copying dat

2011-05-01 Thread Tom Lane
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 tu

[COMMITTERS] pgsql: Make CLUSTER lock the old table's toast table before copying dat

2011-05-01 Thread Tom Lane
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 tu

[COMMITTERS] pgsql: Make CLUSTER lock the old table's toast table before copying dat

2011-05-01 Thread Tom Lane
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 tu

[COMMITTERS] pgsql: Make CLUSTER lock the old table's toast table before copying dat

2011-05-01 Thread Tom Lane
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 tu