Re: BUG #16122: segfault pg_detoast_datum (datum=0x0) at fmgr.c:1833 numrange query
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Adam Scott <adam.c.scott@gmail.com>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>, pgsql-bugs@lists.postgresql.org
Date: 2020-01-13T22:33:41Z
Lists: pgsql-bugs
Hi Adam, On Mon, Jan 13, 2020 at 10:56:32AM -0800, Adam Scott wrote: > Thank you Michael! I know this is a late response but didn't want to > clutter the message stream until we had confirmation, but I applied this > patch to our server and could not replicate the bug. So this patch is > working for us presently. This was broken for ages, so there is a lot that has been done thanks to you because you took the time to report the bug in the first place. Tom has committed a much more paranoid (and better!) fix as of 652686a, so you will have the fix with the next minor release planned on the second week of February, 10.12 in your case. The committed patch did not include a regression test, but I am keeping track of it. -- Michael
Commits
-
Fix edge-case crashes and misestimation in range containment selectivity.
- 8c8b456b5116 10.12 landed
- 784c58da1957 9.5.21 landed
- 70c17a81278c 12.2 landed
- 6bd567b65858 9.4.26 landed
- 5832be6ca4d7 11.7 landed
- 2dd10477cbfc 9.6.17 landed
- 652686a334b4 13.0 landed
-
Use stdbool.h if suitable
- 9a95a77d9d5d 11.0 cited
-
Redesign get_attstatsslot()/free_attstatsslot() for more safety and speed.
- 9aab83fc5039 10.0 cited