If you're database contains foreign keys or similar, make sure to include OIDs into the database dump.
on what basis did you make up this advice?
i have no OID's anywhere and FK's work just fine.
when you set up the new server, be sure to re-create any users you had on the old, and do the dump as the postgres superuser to ensure everything gets copied. do the restore as the superuser too to ensure all ownerships and permissions were as before as well.