Revert based on Tom's recommendation:
Bruce Momjian <bruce@momjian.us>
Revert based on Tom's recommendation: > Allow VACUUM to complete faster by avoiding scanning the indexes when no > rows were removed from the heap by the VACUUM.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/gist/gistvacuum.c | modified | +7 −12 |
| src/backend/access/hash/hash.c | modified | +6 −12 |
| src/backend/access/index/indexam.c | modified | +1 −6 |
| src/backend/access/nbtree/nbtree.c | modified | +5 −16 |
| src/backend/commands/vacuum.c | modified | +5 −9 |
| src/backend/commands/vacuumlazy.c | modified | +4 −7 |
| src/include/access/genam.h | modified | +1 −3 |