Update autovacuum to use reloptions instead of a system catalog, for
Alvaro Herrera <alvherre@alvh.no-ip.org>
Update autovacuum to use reloptions instead of a system catalog, for per-table overrides of parameters. This removes a whole class of problems related to misusing the catalog, and perhaps more importantly, gives us pg_dump support for the parameters. Based on a patch by Euler Taveira de Oliveira, heavily reworked by me.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +1 −178 |
| doc/src/sgml/config.sgml | modified | +15 −15 |
| doc/src/sgml/maintenance.sgml | modified | +26 −50 |
| doc/src/sgml/ref/alter_table.sgml | modified | +3 −2 |
| doc/src/sgml/ref/create_table.sgml | modified | +123 −6 |
| src/backend/access/common/reloptions.c | modified | +103 −3 |
| src/backend/catalog/Makefile | modified | +2 −2 |
| src/backend/postmaster/autovacuum.c | modified | +127 −152 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/indexing.h | modified | +1 −4 |
| src/include/catalog/pg_autovacuum.h | deleted | +0 −66 |
| src/include/utils/rel.h | modified | +17 −1 |
| src/test/regress/expected/sanity_check.out | modified | +1 −2 |