Ashutosh Bapat <ashutosh.bapat....@gmail.com> writes: > After fixing the statistics difference in dumps of tables with > indexes, I now see difference in statistics of materialized view dump > in the test I am developing at [1] (see the latest patches there).
Are you doing the restore in parallel by any chance? I had a todo item to revisit the dependencies that pg_dump is creating for stats items, because they looked wrong to me, ie inadequate to guarantee correct restore order. regards, tom lane