I think pg_upgrade could check for the existence of extended statistics in any database and adjust the analyze recommdnation wording accordingly.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных