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