Re: BUG #15032: Segmentation fault when running a particular query

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Guo Xiang Tan <gxtan1990@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org, Robert Haas <robertmhaas@gmail.com>
Date: 2018-01-27T18:57:26Z
Lists: pgsql-bugs
I wrote:
> I'll look into an actual fix tomorrow.

I've pushed a fix for this.  I concluded that there's no real reason
to touch branches before 10: the index_markpos call is useless in the
case in question, but it doesn't do any more than waste some cycles.

			regards, tom lane


Commits

  1. Avoid crash during EvalPlanQual recheck of an inner indexscan.

  2. Fix parallel index and index-only scans to fall back to serial.