Have autovacuum consider processing TOAST tables separately from their
Alvaro Herrera <alvherre@alvh.no-ip.org>
Have autovacuum consider processing TOAST tables separately from their main tables. This requires vacuum() to accept processing a toast table standalone, so there's a user-visible change in that it's now possible (for a superuser) to execute "VACUUM pg_toast.pg_toast_XXX".
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/vacuum.c | modified | +22 −15 |
| src/backend/postmaster/autovacuum.c | modified | +146 −122 |
| src/backend/tcop/utility.c | modified | +2 −2 |
| src/include/commands/vacuum.h | modified | +2 −2 |