pkg.soopen package index

brew / 排名 6431

使用 Homebrew, apt, MacPorts, Nix 安装 apgdiff

查看 apgdiff 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install apgdiff

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install apgdiff

MacPorts ports tree · databases/apgdiff/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install apgdiff

Debian stable package indexes · apgdiff · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#apgdiff

nixpkgs package indexes · pkgs/by-name/ap/apgdiff/package.nix · 来源: api.github.com

概览

软件包摘要

Another PostgreSQL diff tool

命令和别名

  • apgdiff

历史

项目历史与用法

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.

时间线

  • 2010: Version 2.0 rewrote the SQL parser and expanded supported PostgreSQL DDL.
  • 2012: The project moved its sources and issue tracker to GitHub.
  • 2012: Version 2.4 shipped with trigger, schema, and parser fixes.
  • 2016: GitHub releases recorded 2.5.0 prereleases.
  • 2018-2020: Changelog entries added PostgreSQL 10, Java 11 development, PostgreSQL 12-related syntax, partitioning, and identity-column support.

Related projects

  • PostgreSQL schema dump tooling, database migration frameworks, and schema comparison utilities are adjacent, but apgdiff remains focused on diffing two PostgreSQL dump files and emitting DDL.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:sql

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
apgdiff可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本2.7.0
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:apgdiff
版本2.7.0
软件包管理器Homebrew
主页https://www.apgdiff.com/
仓库https://github.com/fordfrog/apgdiff
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

apgdiff 2.7.0-1

Another PostgreSQL Diff Tool

https://www.apgdiff.com/

sudo apt install apgdiff
  • Section: database
  • Architecture: all
  • 2 依赖
  • normalized package name match
  • 匹配方式:Apgdiff
Debian stable package indexes · deb.debian.org · Debian stable package indexes: apgdiff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

apgdiff

nix profile install nixpkgs#apgdiff
  • normalized package name match
  • 匹配方式:Apgdiff
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ap/apgdiff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

apgdiff 2.7.0-1

Another PostgreSQL Diff Tool

https://www.apgdiff.com/

sudo apt install apgdiff
  • Section: universe/misc
  • Architecture: all
  • 2 依赖
  • normalized package name match
  • 匹配方式:Apgdiff
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: apgdiff from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

apgdiff

sudo port install apgdiff
  • normalized package name match
  • 匹配方式:Apgdiff
MacPorts ports tree · api.github.com · MacPorts ports tree: databases/apgdiff/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation