mirror of
https://github.com/postgres/postgres.git
synced 2026-05-29 20:14:55 -04:00
f35aef415a
When cache invalidations arrive while ri_LoadConstraintInfo() is busy filling a new cache entry, InvalidateConstraintCacheCallBack() compares the - not yet initialized - oidHashValue field with the to-be-invalidated hash value. To fix, check whether the entry is already marked as invalid. Andres Freund