Hi, attached is an updated version of the patch, addressing most of the issues raised in the recent reviews. There are two main exceptions:
1) I haven't reworked the regression tests to use a function to check cardinality estimates and making them faster. 2) Review handling of bitmap in statext_is_compatible_clause_internal when processing AND/OR/NOT clauses. I plan to look into those items next, but I don't want block review of other parts of the patch unnecessarily. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
0001-multivariate-MCV-lists-20190312.patch.gz
Description: application/gzip
0002-multivariate-histograms-20190312.patch.gz
Description: application/gzip