pgsql: Compare varnullingrels too in assign_param_for_var().

Started by Tom Laneover 2 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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: /messages/by-id/412552.1706203379@sss.pgh.pa.us

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/807369d80384cdaa696cd65b4fcee46e32142344

Modified Files
--------------
src/backend/optimizer/util/paramassign.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)