Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> writes:
> Tom Lane wrote:
>> This is not a race condition because the backend is single-threaded.
> I see. Each backend has own function cache and use_count is for handle
> recursion usage. Are my assumption correct?
Right. Once a function cache entry is set up, it exists unchanged until
no longer in use, no matter what happens to the underlying pg_proc row.
regards, tom lane