macOS
brew install apgdifflocal Homebrew formula metadata
sudo port install apgdiffMacPorts ports tree · databases/apgdiff/Portfile · 来源: api.github.com
安装
brew install apgdifflocal Homebrew formula metadata
sudo port install apgdiffMacPorts ports tree · databases/apgdiff/Portfile · 来源: api.github.com
sudo apt install apgdiffDebian stable package indexes · apgdiff · 来源: deb.debian.org
nix profile install nixpkgs#apgdiffnixpkgs package indexes · pkgs/by-name/ap/apgdiff/package.nix · 来源: api.github.com
概览
Another PostgreSQL diff tool
历史
Another PostgreSQL Diff Tool, usually packaged as apgdiff, is a Java command-line utility for comparing PostgreSQL schema dumps and generating DDL needed to move an old schema toward a new one. Its niche is intentionally narrow: it is for schema-diffing PostgreSQL dump files, not for live database migration orchestration.
The official site presents apgdiff as a free PostgreSQL database schema diff tool and notes that it compares two database dump files to produce SQL statements describing schema changes. The project predates its GitHub repository: the web site lists 2010-era 2.x releases, and a 2012 news entry says the sources and issue tracker moved to GitHub to make participation easier.
The GitHub README describes the repository as mainly unmaintained, while still accepting useful bug-fix pull requests. The changelog shows the package's long tail of PostgreSQL compatibility work: version 2.0 rewrote the SQL parser, version 2.4 added schema-creation and Slony-trigger options, version 2.5 added materialized views, extensions, foreign tables, grants, and ownership support, version 2.6 added PostgreSQL 10 support, and version 2.7.0 added early support for PostgreSQL 12-era syntax such as partitioning and identity columns.
The official home page states that apgdiff was already being used by many developers worldwide. The batch input shows it has also crossed into several package-manager ecosystems, including Homebrew, Debian, Ubuntu, MacPorts, and Nix, which is typical for small database utilities that remain useful in scripts long after active feature development slows.
Typical use is to dump two PostgreSQL schemas, run apgdiff against the old and new dumps, and review or apply the generated DDL. The official site emphasizes command-line use from batches and web applications, and the project README points users to GitHub issues for bugs.
Package users care about PostgreSQL version support because apgdiff parses SQL dump syntax. Its changelog is therefore practically part of the compatibility contract: support for materialized views, unlogged tables, extensions, foreign tables, sequences, triggers, rules, grants, views, and newer CREATE syntax determines whether a given schema dump can be diffed safely.
apgdiff is the kind of small, stable package that package managers preserve because it solves one specific operational problem without needing a server. It is especially interesting to PostgreSQL users who want schema comparison in CI or release scripts and are willing to inspect generated SQL rather than adopt a larger migration framework.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
apgdiff | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/fordfrog/apgdiff
安装元数据
| 软件包键 | brew:apgdiff |
|---|---|
| 版本 | 2.7.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/apgdiff |
| 主页 | https://www.apgdiff.com/ |
| 仓库 | https://github.com/fordfrog/apgdiff |
| 上游文档 | https://github.com/fordfrog/apgdiff#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/fordfrog/apgdiff/archive/refs/tags/release_2.7.0.tar.gz |
| 依赖 | openjdk |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | apgdiff |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
apgdiff 2.7.0-1
Another PostgreSQL Diff Tool
sudo apt install apgdiffapgdiff
nix profile install nixpkgs#apgdiffapgdiff 2.7.0-1
Another PostgreSQL Diff Tool
sudo apt install apgdiffapgdiff
sudo port install apgdiff来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.