Hi,
> Shouldn't these be calling `OidIsValid(…)`, not comparing directly to
> `InvalidOid`?
They should, thanks. Here is the updated patch. I made sure there are
no others != InvalidOid checks in syscache.c and catcache.c which are
affected by my patch. I didn't change any other files since Zhang
wants to propose the corresponding patch.
--
Best regards,
Aleksander Alekseev