Re: Crash in record_type_typmod_compare - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Crash in record_type_typmod_compare
Date
Msg-id 3297888.1617219262@sss.pgh.pa.us
Whole thread Raw
In response to Re: Crash in record_type_typmod_compare  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@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



pgsql-hackers by date:

Previous
From: "Joel Jacobson"
Date:
Subject: Re: Idea: Avoid JOINs by using path expressions to follow FKs
Next
From: Mark Dilger
Date:
Subject: Re: multi-install PostgresNode fails with older postgres versions