Back-patch fixes for problems with VACUUM destroying t_ctid chains too soon,
Tom Lane <tgl@sss.pgh.pa.us>
Back-patch fixes for problems with VACUUM destroying t_ctid chains too soon, and with insufficient paranoia in code that follows t_ctid links. This patch covers the 8.0 branch.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/heapam.c | modified | +174 −80 |
| src/backend/commands/async.c | modified | +4 −3 |
| src/backend/commands/trigger.c | modified | +19 −11 |
| src/backend/commands/vacuum.c | modified | +75 −63 |
| src/backend/executor/execMain.c | modified | +103 −35 |
| src/backend/utils/time/tqual.c | modified | +7 −4 |
| src/include/access/heapam.h | modified | +12 −8 |
| src/include/executor/executor.h | modified | +2 −2 |