macOS
brew install pgformatterlocal Homebrew formula metadata
sudo port install pgFormatterMacPorts ports tree · databases/pgFormatter/Portfile · ソース: api.github.com
brew / 順位 2805
pgformatter のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install pgformatterlocal Homebrew formula metadata
sudo port install pgFormatterMacPorts ports tree · databases/pgFormatter/Portfile · ソース: api.github.com
sudo apt install pgformatterDebian stable package indexes · pgformatter · ソース: deb.debian.org
nix profile install nixpkgs#pgformatternixpkgs package indexes · pkgs/by-name/pg/pgformatter/package.nix · ソース: api.github.com
sudo pacman -S pgformatterArch Linux sync databases · pgformatter · ソース: geo.mirror.pkgbuild.com
概要
PostgreSQL syntax beautifier
履歴
pgFormatter is Gilles Darold's formatter for PostgreSQL SQL and PL/pgSQL, usable as the `pg_format` console program or as a CGI and online formatter.
Gilles Darold created pgFormatter as a PostgreSQL SQL and PL/pgSQL beautifier; official source copyright begins in 2012. The project incorporates a modified SQL::Beautify module and credits substantial later refactoring by Hubert Lubaczewski.
The project evolved beyond basic pretty-printing to support multiple SQL standards, PostgreSQL-specific syntax, configurable casing and indentation, anonymization, placeholders, editor integrations, a JSON-capable CGI interface, and automated hook workflows.
pgFormatter is packaged by Homebrew, Debian, Ubuntu, MacPorts, Nix, and Arch Linux according to source_facts.package-manager. Its repository also supplies a pre-commit hook definition and documents editor, container, and automation workflows.
Users format one or more files or stdin with `pg_format`, write to stdout or a selected output, or update files in place. Persistent options can be stored in a project-local, home-directory, or XDG configuration file.
Common workflows include editor format commands, pre-commit hooks, CI checks, Docker pipelines, anonymizing literals before sharing SQL, and the official web/CGI formatter.
pgFormatter fills for PostgreSQL SQL a role analogous to established language formatters: it makes formatting repeatable in editors, hooks, scripts, and CI while understanding PostgreSQL-specific SQL and PL/pgSQL constructs.
Its combination of a Perl CLI, CGI interface, online formatter, stdin/stdout operation, in-place editing, and persistent configuration makes it especially composable in Unix-oriented development environments.
セキュリティ状態
pgformatter に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.
./.pg_format~/.pg_format$XDG_CONFIG_HOME/pg_format/pg_format.conf./.pg_format%USERPROFILE%\.pg_format実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
pg_format | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/darold/pgFormatter
インストールメタデータ
| パッケージキー | brew:pgformatter |
|---|---|
| バージョン | 5.11 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/pgformatter |
| ホームページ | https://sqlformat.darold.net/ |
| リポジトリ | https://github.com/darold/pgFormatter |
| 上流ドキュメント | https://sqlformat.darold.net/ |
| ライセンス | PostgreSQL |
| ソースアーカイブ | https://github.com/darold/pgFormatter/archive/refs/tags/v5.11.tar.gz |
| 最終更新 | 2026-09-13T11:25:12Z |
| Pulse | updated |
| Bottle | 利用可能 (対象 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pgformatter |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
pgformatter 5.6-1
PostgreSQL SQL syntax beautifier
sudo apt install pgformatterpgformatter
nix profile install nixpkgs#pgformatterpgformatter 5.5-1
PostgreSQL SQL syntax beautifier
sudo apt install pgformatterpgformatter 5.10-1
A PostgreSQL SQL syntax beautifier
https://github.com/darold/pgformatter
sudo pacman -S pgformatterpgFormatter
sudo port install pgFormatterソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.