1. full functional WAL for GiST
Teodor Sigaev <teodor@sigaev.ru>
1. full functional WAL for GiST
2. improve vacuum for gist
- use FSM
- full vacuum:
- reforms parent tuple if it's needed
( tuples was deleted on child page or parent tuple remains invalid
after crash recovery )
- truncate index file if possible
3. fixes bugs and mistakes
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/gist/gist.c | modified | +164 −411 |
| src/backend/access/gist/gistget.c | modified | +8 −8 |
| src/backend/access/gist/gistutil.c | modified | +109 −9 |
| src/backend/access/gist/gistvacuum.c | added | +519 −0 |
| src/backend/access/gist/gistxlog.c | modified | +406 −134 |
| src/backend/access/gist/Makefile | modified | +2 −2 |
| src/include/access/gist.h | modified | +17 −2 |
| src/include/access/gist_private.h | modified | +58 −18 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_am.h | modified | +2 −2 |
| src/include/catalog/pg_proc.h | modified | +2 −1 |