|
55 | 55 | *
|
56 | 56 | *
|
57 | 57 | * IDENTIFICATION
|
58 |
| - * $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.66 2007/10/26 20:45:10 alvherre Exp $ |
| 58 | + * $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.67 2007/10/29 22:17:41 alvherre Exp $ |
59 | 59 | *
|
60 | 60 | *-------------------------------------------------------------------------
|
61 | 61 | */
|
@@ -2100,7 +2100,8 @@ do_autovacuum(void)
|
2100 | 2100 | /*
|
2101 | 2101 | * Save the relation name for a possible error message, to avoid a
|
2102 | 2102 | * catalog lookup in case of an error. Note: they must live in a
|
2103 |
| - * long-lived memory context. |
| 2103 | + * long-lived memory context because we call vacuum and analyze in |
| 2104 | + * different transactions. |
2104 | 2105 | */
|
2105 | 2106 | datname=get_database_name(MyDatabaseId);
|
2106 | 2107 | nspname=get_namespace_name(get_rel_namespace(tab->at_relid));
|
|