pgsql: Fix bogus logic for combining range-partitioned columns during p

2019-05-16 Thread Tom Lane
Fix bogus logic for combining range-partitioned columns during pruning. gen_prune_steps_from_opexps's notion of how to do this was overly complicated and underly correct. Per discussion of a report from Alan Jackson (though this fixes only one aspect of that problem). Back-patch to v11 where thi

pgsql: Fix bogus logic for combining range-partitioned columns during p

2019-05-16 Thread Tom Lane
Fix bogus logic for combining range-partitioned columns during pruning. gen_prune_steps_from_opexps's notion of how to do this was overly complicated and underly correct. Per discussion of a report from Alan Jackson (though this fixes only one aspect of that problem). Back-patch to v11 where thi