Fix back-patch of "Avoid race in RelationBuildDesc() ..."
authorNoah Misch <[email protected]>
Thu, 10 Feb 2022 02:16:56 +0000 (18:16 -0800)
committerNoah Misch <[email protected]>
Thu, 10 Feb 2022 02:16:59 +0000 (18:16 -0800)
commiteac3c4007044f0bb6ee380d056931944611d22c2
treeb46a2acbe0b545264e3fc87e15749ee0bce1f6ff
parent1a8b6f055567b553376bb6b9e295379b613baeea
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
src/backend/utils/cache/inval.c