Fix planner crash involving statistics of rangetype operators

Edit
ID 2373
Title Fix planner crash involving statistics of rangetype operators
Topic Bug Fixes
Created 2019-12-10 05:44:50
Last modified 2020-01-12 19:44:01 (4 years, 10 months ago)
Latest email 2020-01-13 22:33:41 (4 years, 10 months ago)
Status
2020-01: Committed
Target version stable
Authors Michael Paquier (michael-kun)
Reviewers Andrey Borodin (x4m)Become reviewer
Committer Tom Lane (tgl)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/2373
git checkout commitfest/cf/2373
Emails
BUG #16122: segfault pg_detoast_datum (datum=0x0) at fmgr.c:1833 numrange query
First at 2019-11-18 01:27:22 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2020-01-13 22:33:41 by Michael Paquier <michael at paquier.xyz>
Latest attachment (bug-16122-fix-wip.patch) at 2020-01-06 20:28:34 from Tom Lane <tgl at sss.pgh.pa.us>
    Attachment (bug-16122-fix-wip.patch) at 2020-01-06 20:28:34 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (v2-rangetype-stat-crash-from-Andrey.diff) at 2020-01-04 17:57:57 from Andrey Borodin <x4mmm at yandex-team.ru> (Patch: Yes)
    Attachment (rangetype-stat-crash.patch) at 2019-12-10 05:38:15 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
History
When Who What
2020-01-12 19:44:01 Tom Lane (tgl) Closed in commitfest 2020-01 with status: Committed
2020-01-12 19:44:01 Tom Lane (tgl) Changed committer to tgl
2020-01-04 17:58:34 Andrey Borodin (x4m) New status: Waiting on Author
2020-01-03 19:06:12 Andrey Borodin (x4m) Added x4m as reviewer
2019-12-10 05:44:58 Michael Paquier (michael-kun) Changed targetversion to stable
2019-12-10 05:44:58 Michael Paquier (michael-kun) Changed authors to Michael Paquier (michael-kun)
2019-12-10 05:44:50 Michael Paquier (michael-kun) Attached mail thread 16122-eb35bc248c806c15@postgresql.org
2019-12-10 05:44:50 Michael Paquier (michael-kun) Created patch record
Edit