macOS
brew install pgslicelocal Homebrew formula metadata
安装
brew install pgslicelocal Homebrew formula metadata
概览
Postgres partitioning as easy as pie
历史
pgslice is a PostgreSQL partition-management CLI designed to convert new or populated tables to range partitioning with minimal application changes and downtime.
Andrew Kane's pgslice first shipped in April 2016 as a Ruby command-line tool for partitioning PostgreSQL tables with minimal downtime.
The project added PostgreSQL declarative partitioning and foreign-key support in 2017, then continued tracking PostgreSQL and Ruby compatibility, including generated columns and newer PostgreSQL releases.
The official project describes pgslice as battle-tested at Instacart.
Distribution expanded beyond RubyGems to include Homebrew and Docker, making the command available through several packaging cultures.
Operators set the `PGSLICE_URL` environment variable, prepare an intermediate partitioned table, create partitions, fill it in batches, analyze it, swap it with the original table, and then capture any remaining rows.
The CLI prints executed SQL and supports `--dry-run`; rolling partition creation and archival can keep database size under control.
pgslice packages a careful, multi-stage PostgreSQL partition migration into a repeatable CLI while still printing the SQL it executes and offering dry-run and lock-safety controls.
It is useful to database operators who want declarative partitioning or rolling archival without installing a PostgreSQL server extension.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
pgslice | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/ankane/pgslice
安装元数据
| 软件包键 | brew:pgslice |
|---|---|
| 版本 | 0.7.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/pgslice |
| 主页 | https://github.com/ankane/pgslice |
| 仓库 | https://github.com/ankane/pgslice |
| 许可证 | MIT |
| 源码归档 | https://github.com/ankane/pgslice/archive/refs/tags/v0.7.2.tar.gz |
| 最后更新 | 2026-09-13T11:36: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 | pgslice |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.