## 18.4. Migrating to PostgreSQL

Different major versions of PostgreSQL, as well as different PostgreSQL-based products based on the same major version, can have binary incompatible databases, so you cannot replace the server binary and continue running. To convert databases that used previous major versions, you must perform a dump/restore using pg_dumpall or use the pg_upgrade utility.

For upgrade instructions specific to a particular release, see the Release Notes for the corresponding PostgreSQL version.