Code review of CLUSTER patch. Clean up problems with relcache getting
Tom Lane <tgl@sss.pgh.pa.us>
Code review of CLUSTER patch. Clean up problems with relcache getting confused, toasted data getting lost, etc.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/release.sgml | modified | +2 −1 |
| src/backend/catalog/heap.c | modified | +11 −15 |
| src/backend/catalog/index.c | modified | +7 −8 |
| src/backend/catalog/pg_depend.c | modified | +7 −3 |
| src/backend/commands/cluster.c | modified | +262 −166 |
| src/backend/storage/buffer/bufmgr.c | modified | +18 −6 |
| src/backend/utils/cache/relcache.c | modified | +34 −24 |
| src/include/catalog/dependency.h | modified | +2 −2 |
| src/include/storage/bufmgr.h | modified | +2 −1 |
| src/include/utils/rel.h | modified | +5 −1 |
| src/test/regress/expected/cluster.out | modified | +196 −193 |
| src/test/regress/sql/cluster.sql | modified | +12 −9 |