projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dddd9a
)
In the previous commit message, I forgot to credit Simon Riggs who provided
author
Alvaro Herrera
<
[email protected]
>
Mon, 29 Oct 2007 22:17:41 +0000
(22:17 +0000)
committer
Alvaro Herrera
<
[email protected]
>
Mon, 29 Oct 2007 22:17:41 +0000
(22:17 +0000)
the patch, which I modified only slightly before applying.
src/backend/postmaster/autovacuum.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/postmaster/autovacuum.c
b/src/backend/postmaster/autovacuum.c
index 45428011d20895ea266d9f6d8e9335974a5c8dd8..e2bc919e8fbfb62eb998f2bd41bfb33446deb2c5 100644
(file)
--- a/
src/backend/postmaster/autovacuum.c
+++ b/
src/backend/postmaster/autovacuum.c
@@
-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));