Andres Freund <andres@anarazel.de> writes:
> Is there any concern about having to do additional lookups for
> leakproofness? It doesn't seem likely to me since we already need to do
> lookups for the FmgrInfo?
No, we could easily fix it so that one syscache lookup gets both
the provolatile and proleakproof markings.
regards, tom lane