diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2007-10-29 22:17:41 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2007-10-29 22:17:41 +0000 |
commit | 92be6991ad43089ef89e3aba2d138dd6d660276d (patch) | |
tree | e9636d55ce9bf538fca5b847ca2a5e4add0e2927 /src | |
parent | 2aae35d049274b6364aa01add629c33a1e2e6089 (diff) | |
download | postgresql-92be6991ad43089ef89e3aba2d138dd6d660276d.tar.gz postgresql-92be6991ad43089ef89e3aba2d138dd6d660276d.zip |
In the previous commit message, I forgot to credit Simon Riggs who provided
the patch, which I modified only slightly before applying.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/postmaster/autovacuum.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/postmaster/autovacuum.c b/src/backend/postmaster/autovacuum.c index 73cb19757c9..b8300f00cfb 100644 --- a/src/backend/postmaster/autovacuum.c +++ b/src/backend/postmaster/autovacuum.c @@ -55,7 +55,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.66 2007/10/26 20:45:10 alvherre Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.67 2007/10/29 22:17:41 alvherre Exp $ * *------------------------------------------------------------------------- */ @@ -2100,7 +2100,8 @@ next_worker: /* * Save the relation name for a possible error message, to avoid a * catalog lookup in case of an error. Note: they must live in a - * long-lived memory context. + * long-lived memory context because we call vacuum and analyze in + * different transactions. */ datname = get_database_name(MyDatabaseId); nspname = get_namespace_name(get_rel_namespace(tab->at_relid)); |