* Dump/restore stats by default. * Keep the --no-statistics, --no-schema, and --no-data options. * Keep the --statistics-only, --schema-only, and --data-only options. * Remove the --with-statistics, --with-schema, and --with-data options.
This is so close to ideal. It's just that the first bullet should be "off by default" :)
I think pg_restore and pg_upgrade are solved problems at this point. I'm still not convinced why stats should be on by default, as they are metadata - neither schema nor data, but something special that should be explicitly requested. Also, +1 to the idea of --statistics-only as a QA / debug tool as someone mentioned upthread.