Minimal fix for crash bug in quals_match_foreign_key.

Robert Haas <rhaas@postgresql.org>

Commit: 68d704edbfe14fd8d21545b244c3f6824e0fbb8a
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-05-06T19:00:55Z
Releases: 9.6.0
Minimal fix for crash bug in quals_match_foreign_key.

Discussion is still underway as to whether to revert the entire patch
that added this function, but that discussion may not conclude before
beta1.  So, in the meantime, let's do at least this much.

David Rowley

Files

PathChange+/−
src/backend/optimizer/path/costsize.c modified +4 −4