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:
40e151b
)
Fix thinko in autovacuum's test to skip temp tables: want to skip any
author
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 20 Jan 2006 15:17:13 +0000
(15:17 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 20 Jan 2006 15:17:13 +0000
(15:17 +0000)
temp table not only our own process' tables. It's not real important
since vacuum.c will skip temp tables anyway, but might as well make the
code do what it claims to do.
src/backend/postmaster/autovacuum.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/postmaster/autovacuum.c
b/src/backend/postmaster/autovacuum.c
index ee54e2734973f7c6e5ac016ee09f7b1c204dbe4a..636943dfebff742d19ecf31d81ecc068fabe1ff5 100644
(file)
--- a/
src/backend/postmaster/autovacuum.c
+++ b/
src/backend/postmaster/autovacuum.c
@@
-625,7
+625,7
@@
do_autovacuum(PgStat_StatDBEntry *dbentry)
* Skip temp tables (i.e. those in temp namespaces). We cannot safely
* process other backends' temp tables.
*/
- if (isTempNamespace(classForm->relnamespace))
+ if (is
Any
TempNamespace(classForm->relnamespace))
continue;
relid = HeapTupleGetOid(tuple);