macOS
brew install psql2csvlocal Homebrew formula metadata
安装
brew install psql2csvlocal Homebrew formula metadata
nix profile install nixpkgs#psql2csvnixpkgs package indexes · pkgs/by-name/ps/psql2csv/package.nix · 来源: api.github.com
概览
Run a query in psql and output the result as CSV
历史
psql2csv is a command-line wrapper for running PostgreSQL queries with psql and writing the results as configurable CSV.
Philipe Fatio created psql2csv as a shell-based frontend that runs a PostgreSQL query through psql and emits CSV. The repository's official documentation presents it as a compact command-line utility rather than a separate database client.
The official README documents distribution through Homebrew, while the supplied package metadata also records Nix packaging. Its deliberately small, single-script form also supports manual installation into PATH.
A query can be supplied as the final argument or through standard input, with CSV written to standard output. Users can control delimiters, quoting, escaping, NULL representation, headers, encoding, time zone, and search path; remaining arguments are forwarded to psql.
psql2csv exemplifies the Unix package tradition of wrapping a capable lower-level client with a narrowly focused command. It makes scripted PostgreSQL-to-CSV export convenient while preserving access to psql connection and variable options.
安全态势
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.
Credential-bearing paths to review before unattended agent runs.
~/.pgpass可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
psql2csv | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/fphilipe/psql2csv
安装元数据
| 软件包键 | brew:psql2csv |
|---|---|
| 版本 | 0.12 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/psql2csv |
| 主页 | https://github.com/fphilipe/psql2csv |
| 仓库 | https://github.com/fphilipe/psql2csv |
| 许可证 | MIT |
| 源码归档 | https://github.com/fphilipe/psql2csv/archive/refs/tags/v0.12.tar.gz |
| 依赖 | libpq |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | psql2csv |
| 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 软件包链接分开显示。
psql2csv
nix profile install nixpkgs#psql2csv来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.