macOS
brew install pgrolllocal Homebrew formula metadata
sudo port install pgrollMacPorts ports tree · databases/pgroll/Portfile · 来源: api.github.com
安装
brew install pgrolllocal Homebrew formula metadata
sudo port install pgrollMacPorts ports tree · databases/pgroll/Portfile · 来源: api.github.com
nix profile install nixpkgs#pgrollnixpkgs package indexes · pkgs/by-name/pg/pgroll/package.nix · 来源: api.github.com
scoop install main/pgrollScoop official bucket manifest trees · bucket/pgroll.json · 来源: api.github.com
概览
Postgres zero-downtime migrations made easy
历史
pgroll is Xata's open-source PostgreSQL schema-migration tool for applying reversible changes without application downtime. It exposes multiple schema versions concurrently so old and new application releases can operate during a rollout.
Xata created pgroll as an open-source PostgreSQL migration tool focused on zero-downtime and reversible schema changes. The project drew inspiration from Reshape, PgHaMigrations, and established expand-and-contract migration practices.
The tool evolved around versioned schemas and views over physical tables. Its release series added broader migration operations and workflow commands while retaining the start, complete, and rollback lifecycle.
pgroll is distributed through Homebrew, MacPorts, Nix, and Scoop according to source_facts.package-manager, providing native package routes across macOS, Linux, and Windows.
The project supports PostgreSQL 14 and later and is designed to work with hosted PostgreSQL services, including Amazon RDS and Aurora, broadening its relevance beyond self-managed installations.
A typical workflow initializes pgroll's internal database state, optionally baselines an existing schema, starts a migration from a YAML or JSON file, moves applications to the new versioned schema, and then completes or rolls back the migration.
The PostgreSQL connection is supplied through a command-line URL or related runtime configuration. Official documentation does not designate a fixed config file or separate credentials file; migration definitions are project inputs stored wherever the user chooses.
pgroll brings deployment-oriented expand-and-contract ideas into a standalone PostgreSQL CLI. Its defining feature is serving old and new schema versions simultaneously through views, enabling application rollouts and database migrations to proceed independently.
Package users care about its single Go binary, reversible migration files, automated backfills, short lock timeout strategy, and ability to introduce its migration model to an existing schema through a baseline operation.
安全态势
没有找到 pgroll 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
pgroll | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/xataio/pgroll
安装元数据
| 软件包键 | brew:pgroll |
|---|---|
| 版本 | 0.16.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/pgroll |
| 主页 | https://pgroll.com |
| 仓库 | https://github.com/xataio/pgroll |
| 上游文档 | https://pgroll.com |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/xataio/pgroll/archive/refs/tags/v0.16.2.tar.gz |
| 最后更新 | 2026-09-13T11:34:16Z |
| Pulse | updated |
| 依赖 | libpg_query |
| 构建依赖 | go |
| 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 | pgroll |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
pgroll
nix profile install nixpkgs#pgrollpgroll
sudo port install pgrollmain/pgroll
scoop install main/pgroll来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.