The default postgresql.conf file might change across versions.
I remove everything from postgresql except for site-specific customizations, and copy those and pg_hba.conf over.
There's certainly no harm in doing "SELECT name, setting, unit FROM pg_settings ORDER BY name;" on the old instance, and then on the new instance after it's properly configured.