macOS
brew install pgformatterlocal Homebrew formula metadata
sudo port install pgFormatterMacPorts ports tree · databases/pgFormatter/Portfile · Source: api.github.com
brew / rang 2805
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de pgformatter pour les workflows d'agents IA.
installation
brew install pgformatterlocal Homebrew formula metadata
sudo port install pgFormatterMacPorts ports tree · databases/pgFormatter/Portfile · Source: api.github.com
sudo apt install pgformatterDebian stable package indexes · pgformatter · Source: deb.debian.org
nix profile install nixpkgs#pgformatternixpkgs package indexes · pkgs/by-name/pg/pgformatter/package.nix · Source: api.github.com
sudo pacman -S pgformatterArch Linux sync databases · pgformatter · Source: geo.mirror.pkgbuild.com
aperçu
PostgreSQL syntax beautifier
historique
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.
posture de sécurité
Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour pgformatter. Les métadonnées de paquet restent publiées ici afin que la couverture future dispose d'une URL stable.
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
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_formatexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
pg_format | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/darold/pgFormatter
métadonnées d'installation
| Clé du paquet | brew:pgformatter |
|---|---|
| Version | 5.11 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/pgformatter |
| Page d'accueil | https://sqlformat.darold.net/ |
| Dépôt | https://github.com/darold/pgFormatter |
| Docs amont | https://sqlformat.darold.net/ |
| Licence | PostgreSQL |
| Archive source | https://github.com/darold/pgFormatter/archive/refs/tags/v5.11.tar.gz |
| Dernière mise à jour | 2026-09-13T11:25:12Z |
| Pulse | updated |
| Bouteille | disponible (sur arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 pgFormatterpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.