pkg.soopen package index

brew / 順位 5385

pg-schema-diff を Homebrew, Nix でインストール

pg-schema-diff のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install pg-schema-diff

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#pg-schema-diff

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

概要

パッケージ概要

Diff Postgres schemas and generating SQL migrations

コマンドとエイリアス

  • pg-schema-diff

履歴

プロジェクトの歴史と使われ方

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.

プロジェクトの歴史

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.

採用の歴史

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.

使われ方

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.

パッケージ好きにとっての重要性

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.

タイムライン

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

ソース

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

セキュリティ状態

リスクレベル: 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 メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

ページ生成日2026-09-19
マネージャ版1.0.9
マネージャ更新日2026-09-13
ローカルデータOK
上流最新
検出された最新v1.0.9

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

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:pg-schema-diff
バージョン1.0.9
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/pg-schema-diff
ホームページhttps://github.com/stripe/pg-schema-diff
リポジトリhttps://github.com/stripe/pg-schema-diff
ライセンスMIT
ソースアーカイブhttps://github.com/stripe/pg-schema-diff/archive/refs/tags/v1.0.9.tar.gz
最終更新2026-09-13T11:21:35Z
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

pg-schema-diff

nix profile install nixpkgs#pg-schema-diff
  • normalized package name match
  • 一致条件: 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

ソース経路

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

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

使用ソース

  • 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