diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-08-13 00:07:50 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-08-13 00:07:50 +0000 |
commit | 3ccde312ec8ee47f5f797b070d34a675799448ae (patch) | |
tree | 70a8c2e7afb82a678a8a76520b46394e199be5ea /src/backend/tcop/utility.c | |
parent | 010eebf1649bb28415d23ddcd0bb7afe102a078c (diff) | |
download | postgresql-3ccde312ec8ee47f5f797b070d34a675799448ae.tar.gz postgresql-3ccde312ec8ee47f5f797b070d34a675799448ae.zip |
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".
Diffstat (limited to 'src/backend/tcop/utility.c')
-rw-r--r-- | src/backend/tcop/utility.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 3b8d5249f57..1e419a7265a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/utility.c,v 1.295 2008/07/18 20:26:06 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/utility.c,v 1.296 2008/08/13 00:07:50 alvherre Exp $ * *------------------------------------------------------------------------- */ @@ -836,7 +836,7 @@ ProcessUtility(Node *parsetree, break; case T_VacuumStmt: - vacuum((VacuumStmt *) parsetree, InvalidOid, NULL, false, + vacuum((VacuumStmt *) parsetree, InvalidOid, true, NULL, false, isTopLevel); break; |