From: Hou, Zhijie/侯 志杰 <houzj.f...@fujitsu.com> > For approach 1): I think it could result in infinite recursion. > > For example: > If we first access one built-in function A which have not been cached, > it need access the pg_proc, When accessing the pg_proc, it internally still > need > some built-in function B to scan. > At this time, if B is not cached , it still need to fetch function B's > parallel flag by > accessing the pg_proc.proparallel. > Then it could result in infinite recursion. > > So, I think we can consider the approach 2)
Hmm, that makes sense. That's a problem structure similar to that of relcache. Only one choice is left already, unless there's another better idea. Regards Takayuki Tsunakawa