Hello,
It seems like ALTER INDEX ... ALTER COLUMN statements (for setting specific
statistics targets on functional indexes, for example) are not part of a
pg_dump.
It is not easily noticed, since everything seems to work normally until a
sub-par plan is chosen because of an error in cardinality estimates.
Regards,
--
Ronan Dunklau