Fix back-patch of "Avoid race in RelationBuildDesc() ..."

Noah Misch <noah@leadboat.com>

Commit: 3cc89d9c3834c33f4ad3cf5d3083fd192f05c72c
Author: Noah Misch <noah@leadboat.com>
Date: 2022-02-10T02:16:59Z
Releases: 11.16
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

Files

PathChange+/−
src/backend/utils/cache/inval.c modified +1 −1

Discussion