During VACUUM FULL, truncate off any deletable pages that are at the
Tom Lane <tgl@sss.pgh.pa.us>
During VACUUM FULL, truncate off any deletable pages that are at the end of a btree index. This isn't super-effective, since we won't move nondeletable pages, but it's better than nothing. Also, improve stats displayed during VACUUM VERBOSE.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/gist/gist.c | modified | +2 −3 |
| src/backend/access/hash/hash.c | modified | +2 −3 |
| src/backend/access/nbtree/nbtree.c | modified | +58 −9 |
| src/backend/access/rtree/rtree.c | modified | +2 −3 |
| src/backend/commands/vacuum.c | modified | +6 −5 |
| src/backend/commands/vacuumlazy.c | modified | +6 −5 |
| src/include/access/genam.h | modified | +3 −2 |