pgsql: Fix misprocessing of equivalence classes involving record_eq().

2018-05-16 Thread Tom Lane
Fix misprocessing of equivalence classes involving record_eq(). canonicalize_ec_expression() is supposed to agree with coerce_type() as to whether a RelabelType should be inserted to make a subexpression be valid input for the operators of a given opclass. However, it did the wrong thing with

pgsql: Fix misprocessing of equivalence classes involving record_eq().

2018-05-16 Thread Tom Lane
Fix misprocessing of equivalence classes involving record_eq(). canonicalize_ec_expression() is supposed to agree with coerce_type() as to whether a RelabelType should be inserted to make a subexpression be valid input for the operators of a given opclass. However, it did the wrong thing with

pgsql: Fix misprocessing of equivalence classes involving record_eq().

2018-05-16 Thread Tom Lane
Fix misprocessing of equivalence classes involving record_eq(). canonicalize_ec_expression() is supposed to agree with coerce_type() as to whether a RelabelType should be inserted to make a subexpression be valid input for the operators of a given opclass. However, it did the wrong thing with

pgsql: Fix misprocessing of equivalence classes involving record_eq().

2018-05-16 Thread Tom Lane
Fix misprocessing of equivalence classes involving record_eq(). canonicalize_ec_expression() is supposed to agree with coerce_type() as to whether a RelabelType should be inserted to make a subexpression be valid input for the operators of a given opclass. However, it did the wrong thing with

pgsql: Fix misprocessing of equivalence classes involving record_eq().

2018-05-16 Thread Tom Lane
Fix misprocessing of equivalence classes involving record_eq(). canonicalize_ec_expression() is supposed to agree with coerce_type() as to whether a RelabelType should be inserted to make a subexpression be valid input for the operators of a given opclass. However, it did the wrong thing with

pgsql: Fix misprocessing of equivalence classes involving record_eq().

2018-05-16 Thread Tom Lane
Fix misprocessing of equivalence classes involving record_eq(). canonicalize_ec_expression() is supposed to agree with coerce_type() as to whether a RelabelType should be inserted to make a subexpression be valid input for the operators of a given opclass. However, it did the wrong thing with