Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit413d492

Browse files
committed
Fix thinko in autovacuum's test to skip temp tables: want to skip any
temp table not only our own process' tables. It's not real importantsince vacuum.c will skip temp tables anyway, but might as well make thecode do what it claims to do.
1 parentcd5d464 commit413d492

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/postmaster/autovacuum.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.10 2006/01/18 20:35:05 tgl Exp $
13+
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.11 2006/01/20 15:16:56 tgl Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -635,7 +635,7 @@ do_autovacuum(PgStat_StatDBEntry *dbentry)
635635
* Skip temp tables (i.e. those in temp namespaces). We cannot safely
636636
* process other backends' temp tables.
637637
*/
638-
if (isTempNamespace(classForm->relnamespace))
638+
if (isAnyTempNamespace(classForm->relnamespace))
639639
continue;
640640

641641
relid=HeapTupleGetOid(tuple);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp