Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 92be699

Browse files
committed
In the previous commit message, I forgot to credit Simon Riggs who provided
the patch, which I modified only slightly before applying.
1 parent 2aae35d commit 92be699

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/postmaster/autovacuum.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
*
5656
*
5757
* 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 $
5959
*
6060
*-------------------------------------------------------------------------
6161
*/
@@ -2100,7 +2100,8 @@ do_autovacuum(void)
21002100
/*
21012101
* Save the relation name for a possible error message, to avoid a
21022102
* 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.
21042105
*/
21052106
datname = get_database_name(MyDatabaseId);
21062107
nspname = get_namespace_name(get_rel_namespace(tab->at_relid));

0 commit comments

Comments
 (0)