macOS
brew install pgsynclocal Homebrew formula metadata
brew / 順位 5647
pgsync のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install pgsynclocal Homebrew formula metadata
nix profile install nixpkgs#pgsyncnixpkgs package indexes · pkgs/by-name/pg/pgsync/package.nix · ソース: api.github.com
概要
Sync Postgres data between databases
履歴
pgsync is a Ruby-based command-line utility for synchronizing PostgreSQL data between databases with parallel transfer, selective copying, safety controls, and data masking.
Andrew Kane released pgsync in December 2015 as a Ruby command-line tool inspired by heroku-pg-transfer.
It evolved from basic database copying into a parallel synchronization tool with partial-table selection, schema operations, resumable batching, framework integrations, safety restrictions, and server-side sensitive-data transformations.
The official README describes pgsync as battle-tested at Instacart.
The tool is distributed through RubyGems, Homebrew, Docker, and Nix, and its changelog records continued compatibility work across Ruby, PostgreSQL, and packaging environments.
Running `pgsync --init` in a project creates `.pgsync.yml`; named database configurations use `.pgsync-<database>.yml`. Commands search from the working directory through parent directories for configuration.
Users can synchronize all data, selected tables, filtered records, or named groups; optionally preserve or truncate destination rows, transfer schemas, defer constraints, and resume large append-only backfills.
Data rules can replace or null sensitive fields on the source server, and the destination is restricted to localhost by default unless explicitly marked safe.
pgsync occupies the practical middle ground between full database dumps and application-specific seed scripts: it can copy selected tables, filtered rows, and related record groups while handling schema differences.
Its server-side data rules are especially significant for developers who need production-like local datasets without allowing sensitive values to leave the source database.
セキュリティ状態
broad file, network, media, or database tool signal.
リスク blue · 信頼度 中 · tool
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.pgsync.ymlCredential-bearing paths to review before unattended agent runs.
.pgsync.yml.pgsync-<database>.yml.pgsync.yml.pgsync-<database>.yml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
pgsync | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/ankane/pgsync
インストールメタデータ
| パッケージキー | brew:pgsync |
|---|---|
| バージョン | 0.8.1 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/pgsync |
| ホームページ | https://github.com/ankane/pgsync |
| リポジトリ | https://github.com/ankane/pgsync |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/ankane/pgsync/archive/refs/tags/v0.8.1.tar.gz |
| 最終更新 | 2026-09-13T11:35:57Z |
| Pulse | updated |
| 依存関係 | libpq, ruby |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pgsync |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
pgsync
nix profile install nixpkgs#pgsyncソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.