Ross ROSS = Recommend OSS · open-source software intelligence for agents

darold/pgFormatter

A PostgreSQL SQL syntax beautifier that can work as a console program or as a CGI. On-line demo site at http://sqlformat.darold.net/ observed · 2026-08-28

github.com/darold/pgFormatter · PLpgSQL · PostgreSQL (other) observed · 2026-08-28

Health v2 · maintenance only

84/100

  • Activity 97
  • Release rhythm 59
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 118.0
  • age_days: 5002
  • days_rel: 116
  • days_push: 18
  • n_releases_24m: 5

Full methodology

Adoption not part of the score

1952 stars · 119 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

pgFormatter is a PostgreSQL SQL syntax beautifier that reformats SQL and PL/pgSQL code according to SQL standards and PostgreSQL-specific keywords. It runs as a console program or CGI script, outputting text, HTML, or JSON.

Use cases

  • format messy SQL queries for readability
  • beautify PL/pgSQL code from PostgreSQL
  • standardize SQL formatting across a team
  • anonymize literals in SQL before sharing queries
  • serve an online SQL formatting service via CGI
  • reformat SQL files in place from the command line

When to choose

  • you work with PostgreSQL or PL/pgSQL and need consistent SQL formatting
  • you want a lightweight CLI formatter without a database connection
  • you need to hide sensitive literals before formatting queries
  • you want to embed SQL formatting in a web service

When to avoid

  • you need formatting for other SQL dialects with vendor-specific extensions beyond PostgreSQL
  • you want an IDE-integrated formatter with live preview
  • you need SQL linting or query validation, not just formatting

Facets

cli-tool · maturity active

formatter cli developer-tools databases developer-tools cli cross-platform sql-formatter postgresql beautifier plpgsql cgi command-line web-server

1 source

Member repositories

RepositoryRoleHealth v2
darold/pgFormattermain84

For agents

markdown · JSON · MCP: product_card(name="darold/pgFormatter")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem