Re: type cache cleanup improvements - Mailing list pgsql-hackers

From jian he
Subject Re: type cache cleanup improvements
Date
Msg-id CACJufxGSejRNi54ToQqH550DR3PPoewR1Q0DFOXsc=1XSm19EQ@mail.gmail.com
Whole thread Raw
In response to Re: type cache cleanup improvements  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-hackers
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"



pgsql-hackers by date:

Previous
From: Bertrand Drouvot
Date:
Subject: Re: Refactor GetLockStatusData() by skipping unused backends and groups
Next
From: Alexander Korotkov
Date:
Subject: Re: type cache cleanup improvements