Andres Freund <and...@anarazel.de> writes: > On 2021-03-31 13:10:50 -0400, Tom Lane wrote: >> Couldn't we just >> teach record_type_typmod_compare to say "not equal" if it sees a >> null tupdesc?
> Won't that lead to an accumulation of dead hash table entries over time? Yeah, if you have repeat failures there, which doesn't seem very likely. Still, I take your point that we're doing it the first way in other places, so maybe inventing a different way here isn't good. regards, tom lane