Re: Crash in record_type_typmod_compare
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Sait Talha Nisanci <Sait.Nisanci@microsoft.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>,
Metin Doslu <Metin.Doslu@microsoft.com>
Date: 2021-03-31T19:34:22Z
Lists: 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
Commits
-
Fix assign_record_type_typmod().
- 52c168db955d 11.13 landed
- 5b1621d2fb73 12.8 landed
- edd9a2bf741b 13.4 landed
- 10a07973cf72 14.0 landed
- dd0e37cc1598 15.0 landed
-
Improve an error message
- 1509c6fc29c0 14.0 cited