pkg.soopen package index

brew / rang 2805

Installer pgformatter avec Homebrew, apt, Nix, pacman, MacPorts

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de pgformatter pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install pgformatter

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install pgFormatter

MacPorts ports tree · databases/pgFormatter/Portfile · Source: api.github.com

Linux

Debian aptvérifié · 92%
sudo apt install pgformatter

Debian stable package indexes · pgformatter · Source: deb.debian.org

Nixvérifié · 92%
nix profile install nixpkgs#pgformatter

nixpkgs package indexes · pkgs/by-name/pg/pgformatter/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S pgformatter

Arch Linux sync databases · pgformatter · Source: geo.mirror.pkgbuild.com

aperçu

Résumé du paquet

PostgreSQL syntax beautifier

Commandes et alias

  • pg_format

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2012: Official source copyright begins for Gilles Darold's pgFormatter.
  • 2018: PostgreSQL community news recorded the pgFormatter 3.0 release.
  • 2020s: The project added broader PostgreSQL syntax support, XDG configuration discovery, and native pre-commit integration.

Related projects

  • The repository includes a native pre-commit hook that invokes `pg_format --inplace`, allowing formatting to run automatically in Git workflows.

Sources

  • Official CLI source and copyright: https://github.com/darold/pgFormatter/blob/master/lib/pgFormatter/CLI.pm
  • Official README: https://github.com/darold/pgFormatter#readme
  • Official hook definition: https://github.com/darold/pgFormatter/blob/master/.pre-commit-hooks.yaml
  • Package adoption: source_facts.package-manager

posture de sécurité

Aucune couverture d'outil protégé trouvée pour le moment

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.

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.

Revue recommandée

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

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
./.pg_format~/.pg_format$XDG_CONFIG_HOME/pg_format/pg_format.conf
Windows
./.pg_format%USERPROFILE%\.pg_format

exécutables

Exécutables installés

CommandeTypeExpositionNote
pg_formatcliexécutable global

fraîcheur

Version et 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.

page générée2026-11-04
version du gestionnaire5.11
gestionnaire mis à jour2026-09-13
données localesOK
amontà jour
dernière version détectéev5.11

https://github.com/darold/pgFormatter

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:pgformatter
Version5.11
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/pgformatter
Page d'accueilhttps://sqlformat.darold.net/
Dépôthttps://github.com/darold/pgFormatter
Docs amonthttps://sqlformat.darold.net/
LicencePostgreSQL
Archive sourcehttps://github.com/darold/pgFormatter/archive/refs/tags/v5.11.tar.gz
Dernière mise à jour2026-09-13T11:25:12Z
Pulseupdated
Bouteilledisponible (sur arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepgformatter
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

pgformatter 5.6-1

PostgreSQL SQL syntax beautifier

https://sqlformat.darold.net/

sudo apt install pgformatter
  • Section: database
  • Architecture: all
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Pgformatter
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pgformatter from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

pgformatter

nix profile install nixpkgs#pgformatter
  • normalized package name match
  • Correspondance par : Pgformatter
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pg/pgformatter/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

pgformatter 5.5-1

PostgreSQL SQL syntax beautifier

https://sqlformat.darold.net/

sudo apt install pgformatter
  • Section: universe/database
  • Architecture: all
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Pgformatter
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pgformatter from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

pgformatter 5.10-1

A PostgreSQL SQL syntax beautifier

https://github.com/darold/pgformatter

sudo pacman -S pgformatter
  • License: PostgreSQL
  • Architecture: any
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Pgformatter
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: pgformatter from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

pgFormatter

sudo port install pgFormatter
  • normalized package name match
  • Correspondance par : Pgformatter
MacPorts ports tree · api.github.com · MacPorts ports tree: databases/pgFormatter/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation