Automic VaultAutomic Vault

brew

apgdiff mit Homebrew, apt, MacPorts, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für apgdiff in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install apgdiff

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install apgdiff

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

Linux

Debian aptverifiziert · 92%
sudo apt install apgdiff

Debian stable package indexes · apgdiff · Quelle: deb.debian.org

Nixverifiziert · 92%
nix profile install nixpkgs#apgdiff

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

Überblick

Paketzusammenfassung

Another PostgreSQL diff tool

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 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.

Sicherheitslage

Risikostufe: blue

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

Risikoklassifikator

blue Risiko · mittel Konfidenz · tool

Warum

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

Signale

  • text:sql

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 1 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
apgdiffcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-08
Manager-Version2.7.0
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://github.com/fordfrog/apgdiff

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz
  • InfoNo cached GitHub release or tag data was available.https://github.com/fordfrog/apgdiffnone Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:apgdiff
Version2.7.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/apgdiff
Homepagehttps://www.apgdiff.com/
Repositoryhttps://github.com/fordfrog/apgdiff
Upstream-Dokumentationhttps://github.com/fordfrog/apgdiff#readme
LizenzMIT
Quellarchivhttps://github.com/fordfrog/apgdiff/archive/refs/tags/release_2.7.0.tar.gz
Abhängigkeitenopenjdk
Bottleverfügbar (auf all)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

apgdiff 2.7.0-1

Another PostgreSQL Diff Tool

https://www.apgdiff.com/

sudo apt install apgdiff
  • Section: database
  • Architecture: all
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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