Use pg_restore to restore from a newer version of PostgreSQL
问题 I have a (production) DB server running PostgreSQL v9.0 and a development machine running PostgreSQL v8.4. I would like to take a dump of the production DB and use it on the development machine. I cannot upgrade the postgres on the dev machine. On the production machine, I run: pg_dump -f nvdls.db -F p -U nvdladmin nvdlstats On the development machine, I run: pg_restore -d nvdlstats -U nvdladmin nvdls.db And I got this error: pg_restore: [archiver] unsupported version (1.12) in file header