Another PostgreSQL Diff Tool is useful for comparison/diffing of database schemas.
The schemas are compared based on database dumps created by using pg_dump
. So
for the actual comparison, there is no direct database access required.
./gradlew installDist
./build/install/apgdiff/bin/apgdiff --help
The executable in the docker image is a native binary created with Kotlin Multiplatform, so there is no need for a JVM. The docker image is built for amd64 and arm64 platforms.
./gradlew buildDockerImage
docker run --rm lovelysystems/apgdiff:dev --help
This project is a kotlin rewrite of https://github.com/netwo-io/apgdiff . The original project can be found ot https://www.apgdiff.com/.