diff options
author | Noah Misch | 2022-02-10 02:16:56 +0000 |
---|---|---|
committer | Noah Misch | 2022-02-10 02:16:59 +0000 |
commit | 3cc89d9c3834c33f4ad3cf5d3083fd192f05c72c (patch) | |
tree | 5eb67b95e229f0c4c0c2ddc6cb246f725d05a397 | |
parent | 3a6e3a89022f39e0250b23635bcf5985940e6524 (diff) |
Fix back-patch of "Avoid race in RelationBuildDesc() ..."
The back-patch of commit fdd965d074d46765c295223b119ca437dbcac973 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
-rw-r--r-- | src/backend/utils/cache/inval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/cache/inval.c b/src/backend/utils/cache/inval.c index 13410f0290c..8c63a9f1a53 100644 --- a/src/backend/utils/cache/inval.c +++ b/src/backend/utils/cache/inval.c @@ -725,7 +725,7 @@ AcceptInvalidationMessages(void) if (!in_recursion) { in_recursion = true; - InvalidateSystemCaches(); + InvalidateSystemCachesExtended(true); in_recursion = false; } } |