zonkyio / embedded-postgres-binaries

Lightweight bundles of PostgreSQL binaries with reduced size intended for testing purposes.
Apache License 2.0
145 stars 31 forks source link

Include `pg_dump` and `pg_restore` into the packaged archives #52

Closed binaek closed 2 years ago

binaek commented 2 years ago

As postgresql advances through major versions, it is impossible to use the data-dir from a previous version in the new version. Including the pg_dump and pg_restore will help in transferring data to the new version

tomix26 commented 2 years ago

The goal of this project is to provide lightweight bundles of postgres binaries for testing purposes. So there shouldn't be a need to migrate the data between different versions of postgres. If so, you are probably using it for a different purpose than intended. There is a similar issue with maybe a slightly better explanation here: https://github.com/zonkyio/embedded-postgres-binaries/issues/19