Add hooks for type-specific calculation of ANALYZE statistics. Idea and
Tom Lane <tgl@sss.pgh.pa.us>
Add hooks for type-specific calculation of ANALYZE statistics. Idea and coding by Mark Cave-Ayland, some kibitzing by Tom Lane. initdb forced due to new column in pg_type.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +8 −1 |
| doc/src/sgml/ref/create_type.sgml | modified | +28 −3 |
| src/backend/catalog/heap.c | modified | +2 −1 |
| src/backend/catalog/pg_type.c | modified | +15 −1 |
| src/backend/commands/analyze.c | modified | +360 −353 |
| src/backend/commands/typecmds.c | modified | +51 −1 |
| src/bin/pg_dump/pg_dump.c | modified | +37 −7 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_attribute.h | modified | +19 −17 |
| src/include/catalog/pg_class.h | modified | +2 −2 |
| src/include/catalog/pg_statistic.h | modified | +22 −3 |
| src/include/catalog/pg_type.h | modified | +136 −128 |
| src/include/commands/vacuum.h | modified | +77 −1 |