pkg.soopen package index

brew / Rang 5385

pg-schema-diff mit Homebrew, Nix installieren

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

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install pg-schema-diff

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#pg-schema-diff

nixpkgs package indexes · pkgs/by-name/pg/pg-schema-diff/package.nix · Quelle: api.github.com

Überblick

Paketzusammenfassung

Diff Postgres schemas and generating SQL migrations

Befehle und Aliase

  • pg-schema-diff

Verlauf

Projektgeschichte und Nutzung

pg-schema-diff is a Stripe-maintained Go library and CLI for comparing PostgreSQL schemas and producing migration plans designed to minimize downtime and locking.

Projektgeschichte

Stripe developed pg-schema-diff to compare PostgreSQL schemas and generate the SQL needed to transform one into another. The project grew around online-migration techniques, temporary-database validation, hazard reporting, partition support, and both CLI and reusable Go-library interfaces.

Adoptionsgeschichte

Stripe publishes the project as both a Go library and a command-line program. Official installation instructions support `go install`, Go modules, and Homebrew, enabling use in application tooling and database deployment workflows.

Wie es verwendet wird

Users describe a desired database schema with one or more DDL files, compare it with a live database, inspect the generated plan and hazards, and then apply approved changes. The CLI accepts DSNs and recommends PGPASSWORD for supplying a password without embedding it in the connection string.

Warum Paket-Nerds sich dafür interessieren

pg-schema-diff brings declarative, plan-oriented migration behavior to PostgreSQL while exposing operational hazards before execution. Database tooling enthusiasts care about its use of native concurrent and staged PostgreSQL operations to reduce locks and downtime rather than relying only on handwritten sequential migrations.

Zeitleiste

  • Initial project direction: Published by Stripe as a PostgreSQL schema-diffing Go library and CLI.
  • Later development: Added safety-oriented planning features including hazard warnings, temporary-database validation, online index replacement, and strong partition support.
  • Package-manager adoption: Distributed through Homebrew in addition to the Go toolchain.

Related projects

  • The tool consumes PostgreSQL DDL and connection strings, uses native PostgreSQL migration operations, and publishes its library API through the official Go package documentation.

Quellen

  • Official Go documentation: https://pkg.go.dev/github.com/stripe/pg-schema-diff
  • Official README: https://github.com/stripe/pg-schema-diff#readme

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 6 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhä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
pg-schema-diffcliglobales 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-09-19
Manager-Version1.0.9
Manager aktualisiert2026-09-13
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv1.0.9

https://github.com/stripe/pg-schema-diff

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:pg-schema-diff
Version1.0.9
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/pg-schema-diff
Homepagehttps://github.com/stripe/pg-schema-diff
Repositoryhttps://github.com/stripe/pg-schema-diff
LizenzMIT
Quellarchivhttps://github.com/stripe/pg-schema-diff/archive/refs/tags/v1.0.9.tar.gz
Zuletzt aktualisiert2026-09-13T11:21:35Z
Pulseupdated
Build-Abhängigkeitengo
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepg-schema-diff
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.

Nix95%

pg-schema-diff

nix profile install nixpkgs#pg-schema-diff
  • normalized package name match
  • Abgeglichen nach: Pg Schema Diff
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pg/pg-schema-diff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation