Compare varnullingrels too in assign_param_for_var(). Oversight in 2489d76c4. Preliminary analysis suggests that the problem may be unreachable --- but if we did have instances of the same column with different varnullingrels, we'd surely need to treat them as different Params.
Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/5e444a2526cc6f4052ce0004e1df69135c47338a Modified Files -------------- src/backend/optimizer/util/paramassign.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
