I've pushed the first part of the patch, adding ScalarArrayOpExpr as
supported clause for functional dependencies, and then also doing the
same for MCV lists.
As discussed, I'm not going to do anything about the array containment
clauses for PG13, that needs more discussion.
I have a bunch of additional improvements for extended stats, discussed
in . I'll wait a bit for buildfarm and maybe some feedback before
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services