Back-patch fix to check vartypmod when matching PlannerParamVar entries.

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

Commit: 6144601f427405d16f102179372cd58481280ab3
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-11-30T22:24:16Z
Releases: 7.3.5
Back-patch fix to check vartypmod when matching PlannerParamVar entries.
This should prevent some obscure cases of 'variable not in subplan target
lists', although actual failures have only been reported against 7.4 in
which the bug is much easier to trigger.

Files

PathChange+/−
src/backend/optimizer/plan/subselect.c modified +8 −2