macOS
brew install pgformatterlocal Homebrew formula metadata
sudo port install pgFormatterMacPorts ports tree · databases/pgFormatter/Portfile · Quelle: api.github.com
brew / Rang 2805
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für pgformatter in AI-Agent-Workflows.
Installation
brew install pgformatterlocal Homebrew formula metadata
sudo port install pgFormatterMacPorts ports tree · databases/pgFormatter/Portfile · Quelle: api.github.com
sudo apt install pgformatterDebian stable package indexes · pgformatter · Quelle: deb.debian.org
nix profile install nixpkgs#pgformatternixpkgs package indexes · pkgs/by-name/pg/pgformatter/package.nix · Quelle: api.github.com
sudo pacman -S pgformatterArch Linux sync databases · pgformatter · Quelle: geo.mirror.pkgbuild.com
Überblick
PostgreSQL syntax beautifier
Verlauf
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.
Sicherheitslage
Für pgformatter wurde kein passendes lokales Secret-Handling-Manifest gefunden. Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
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_formatExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
pg_format | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/darold/pgFormatter
Installationsmetadaten
| Paketschlüssel | brew:pgformatter |
|---|---|
| Version | 5.11 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/pgformatter |
| Homepage | https://sqlformat.darold.net/ |
| Repository | https://github.com/darold/pgFormatter |
| Upstream-Dokumentation | https://sqlformat.darold.net/ |
| Lizenz | PostgreSQL |
| Quellarchiv | https://github.com/darold/pgFormatter/archive/refs/tags/v5.11.tar.gz |
| Zuletzt aktualisiert | 2026-09-13T11:25:12Z |
| Pulse | updated |
| Bottle | verfügbar (auf arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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 pgFormatterQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.