I haven’t found any. In our case, we did an alter table .. alter column, which I assumed would he fine. In retrospect, it does make sense that PG recreates that column from scratch and thus it doesn’t keep the statistics.
Since then we typically include an analyze statement whenever we do a large change, or rewrite a lot of rows.
Since then we typically include an analyze statement whenever we do a large change, or rewrite a lot of rows.