Skip to content

Commit 1b8462b

Browse files
committed
Fix back-patch of "Avoid race in RelationBuildDesc() ..."
The back-patch of commit fdd965d broke CLOBBER_CACHE_ALWAYS for v9.6 through v13. It updated the InvalidateSystemCaches() call for CLOBBER_CACHE_RECURSIVELY, neglecting the one for CLOBBER_CACHE_ALWAYS. Back-patch to v13, v12, v11, and v10. Reviewed by Tomas Vondra. Reported by Tomas Vondra. Discussion: https://postgr.es/m/df7b4c0b-7d92-f03f-75c4-9e08b269a716@enterprisedb.com
1 parent 5ea3b99 commit 1b8462b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/cache/inval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ AcceptInvalidationMessages(void)
725725
if (!in_recursion)
726726
{
727727
in_recursion = true;
728-
InvalidateSystemCaches();
728+
InvalidateSystemCachesExtended(true);
729729
in_recursion = false;
730730
}
731731
}

0 commit comments

Comments
 (0)