Automic VaultAutomic Vault

brew

apgdiff を Homebrew, apt, MacPorts, Nix でインストール

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

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
apgdiffcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版2.7.0
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/fordfrog/apgdiff

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報No cached GitHub release or tag data was available.https://github.com/fordfrog/apgdiff信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキー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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameapgdiff
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment