macOS
brew install pspglocal Homebrew formula metadata
sudo port install pspgMacPorts ports tree · databases/pspg/Portfile · 来源: api.github.com
安装
brew install pspglocal Homebrew formula metadata
sudo port install pspgMacPorts ports tree · databases/pspg/Portfile · 来源: api.github.com
sudo apk add pspgAlpine Linux edge package indexes · pspg · 来源: dl-cdn.alpinelinux.org
sudo dnf install pspgFedora Rawhide package metadata · pspg · 来源: dl.fedoraproject.org
nix profile install nixpkgs#pspgnixpkgs package indexes · pkgs/by-name/ps/pspg/package.nix · 来源: api.github.com
sudo zypper install pspgopenSUSE Tumbleweed package metadata · pspg · 来源: download.opensuse.org
概览
Unix pager optimized for psql
历史
pspg is a Unix terminal pager designed for browsing tabular output, especially results produced by PostgreSQL's psql client. It retains the familiar pager workflow while adding table-oriented navigation and presentation features.
The author created pspg after finding that less, although commonly used with psql, lacked special support for tabular output. The project developed from that specialized PostgreSQL pager into a richer table browser with CSV and TSV input, themes, searching, sorting, frozen rows and columns, clipboard export, streaming, and watch modes.
The official README documents availability through Debian and Ubuntu, Fedora, Homebrew, Alpine Linux, FreeBSD, OpenBSD, MacPorts, and other packaging channels. It also describes integrations with database clients including psql, MySQL, SQLite, pgcli, Trino, sqlcl, and usql.
Users commonly set PSQL_PAGER to pspg, optionally with display flags. The program can also read files or pipelines directly, view CSV and TSV data, refresh query output in watch mode, and export selected table regions to the clipboard. Configuration defaults to ~/.pspgconf; PSPG_CONF can select another file.
pspg is notable in package-manager culture because it turns the conventional Unix pager slot into a table-aware database interface. Its presence across several operating-system repositories makes a specialized PostgreSQL-adjacent utility easy to add without replacing psql itself.
安全态势
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.
~/.pspgconf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
pspg | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:pspg |
|---|---|
| 版本 | 5.8.16 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/pspg |
| 主页 | https://github.com/okbob/pspg |
| 仓库 | https://github.com/okbob/pspg |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/okbob/pspg/archive/refs/tags/5.8.16.tar.gz |
| 最后更新 | 2026-09-13T12:46:20Z |
| Pulse | updated |
| 依赖 | libpq, ncurses, readline |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | Add the following line to your psql profile (e.g. ~/.psqlrc) \setenv PAGER pspg \pset border 2 \pset linestyle unicode |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pspg |
| 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 软件包链接分开显示。
pspg 5.8.9-1
PostgreSQL pager
sudo apt install pspgpspg
nix profile install nixpkgs#pspgpspg 5.8.1-1build2
PostgreSQL pager
sudo apt install pspgpspg 5.8.16-r0
A unix pager optimized for psql
sudo apk add pspgpspg-doc 5.8.16-r0
A unix pager optimized for psql (documentation)
sudo apk add pspg-docpspg 5.8.16-2.fc45
A unix pager optimized for psql
sudo dnf install pspgpspg 5.8.16-1.3
Pager for PostgreSQL, MariaDB, Percona, and MySQL
sudo zypper install pspgpspg
sudo port install pspg来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.