thanks for the INJECTION_POINT("typecache-before-rel-type-cache-insert"); Now I have better understanding of the whole changes.
+/* + * Add possibly missing RelIdToTypeId entries related to TypeCacheHas + * entries, marked as in-progress by lookup_type_cache(). It may happen + * in case of an error or interruption during the lookup_type_cache() call. + */ +static void +finalize_in_progress_typentries(void) comment typo. "TypeCacheHas" should be "TypeCacheHash"