You can manually add more advanced statistics in PostgreSQL. That includes statistics over multiple columns.
https://www.postgresql.org/docs/current/planner-stats.html#P...