/*
* Normally, given that the joinrel is parallel-safe, the cheapest
* total inner path will also be parallel-safe, but if not, we'll
- * have to search cheapest_parameterized_paths for the cheapest
- * safe, unparameterized inner path. If doing JOIN_UNIQUE_INNER,
- * we can't use any alternative inner path.
+ * have to search for the cheapest safe, unparameterized inner
+ * path. If doing JOIN_UNIQUE_INNER, we can't use any alternative
+ * inner path.
*/
if (cheapest_total_inner->parallel_safe)
cheapest_safe_inner = cheapest_total_inner;
{
ListCell *lc;
- foreach(lc, innerrel->cheapest_parameterized_paths)
+ foreach(lc, innerrel->pathlist)
{
Path *innerpath = (Path *) lfirst(lc);