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

Commit f46e3a2

Browse files
committed
Do not treat global temp tables as orphan in autovacuum
1 parent a670826 commit f46e3a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/postmaster/autovacuum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2069,7 +2069,7 @@ do_autovacuum(void)
20692069
* Check if it is a temp table (presumably, of some other backend's).
20702070
* We cannot safely process other backends' temp tables.
20712071
*/
2072-
if (IsLocalRelpersistence(classForm->relpersistence))
2072+
if (classForm->relpersistence == RELPERSISTENCE_TEMP)
20732073
{
20742074
/*
20752075
* We just ignore it if the owning backend is still active and

0 commit comments

Comments
 (0)