Hi,While reading the estimate_multivariate_ndistinct(), I think "If a match it found, *varinfos is * updated to remove the list of matched varinfos"should be "If a match is found, *varinfos is * updated to remove the list of matched varinfos"I've attached a patch for that.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных