apgdiff vs pg-schema-diff
apgdiff
github.compg-schema-diff
github.comSide by side
| Figure | apgdiff | pg-schema-diff |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | — |
| Self-hosted | — | Yes |
| Plans published | 1 | 0 |
| Spec score · Database Schema Comparison Tools | 8.2 (#5) | 6.9 (#18) |
| License | The project is licensed under the MIT License. | The repository lists the project under the MIT license. |
| Purpose | apgdiff compares two PostgreSQL database schema dump files and outputs DDL statements to update the old schema or show the differences. | pg-schema-diff compares Postgres schemas and generates SQL migrations to move between them with minimal downtime and locks. |
| Support | The site directs users to GitHub Issues to report bugs or request features and lists the author’s email for comments and suggestions. | The contribution guide says maintainers will try to respond to bug reports, feature requests, and questions within one week. |
Plans
In their own words
apgdiff
apgdiff is a free command-line tool that compares two PostgreSQL schema dump files and generates DDL statements to update an older schema or show differences. It takes an original dump and a new dump as inputs; generated SQL can be printed in the terminal or redirected to a file. The project says it can be called from batch jobs or web applications. It is written in Java and requires Java 1.6 or newer. Listed systems include Windows, Linux, Mac OS X, Solaris, and BSD, as well as other systems where Java is available. Version 2.4 is identified as the latest stable release, with binary and source ZIP downloads. Support covers selected ALTER SEQUENCE, ALTER TABLE, ALTER VIEW, COMMENT, CREATE FUNCTION, CREATE INDEX, CREATE SCHEMA, CREATE SEQUENCE, CREATE TABLE, CREATE TRIGGER, CREATE VIEW, and SET search_path statements. Other SQL statements are ignored, and an option reports ignored DDL. For CREATE TABLE column constraints, only NULL and NOT NULL are supported. The project uses the MIT License and recommends reviewing generated upgrade SQL before applying it.
pg-schema-diff
pg-schema-diff has no write-up on Specifiction yet; its figures are above.