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/
active 2025-02-21 → 2026-07-15 (UTC)
Activity over time
Daily event counts in the loaded window
Line chart, 510 days from 2025-02-21 to 2026-07-15. Pushes: 18 total, peak 4 in a day. Pull requests: 4 total, peak 2 in a day. Issues: 27 total, peak 6 in a day. Comments: 31 total, peak 5 in a day. Stars: 83 total, peak 3 in a day.
- Pushes
- Pull requests
- Issues
- Comments
- Stars
Stars, PRs, issues and forks are under-captured in the later part of this window. GH Archive progressively stopped capturing non-push events during 2026 — −95% or worse by the end of the window. Every series here except Pushes fades for that reason, so a decline above reflects the archive, not this repository. Pushes stay reliable throughout, so read them, and the contributor counts derived from them, as the real signal. Data health has the measurements.
Top contributors
Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity
| Contributor | Contributions | Pushes | PRs | Comments |
|---|---|---|---|---|
| darold | 60 | 19 | 2 | 22 |
| AndrewJackson2020 | 3 | 0 | 0 | 1 |
| jrh1222 | 2 | 0 | 0 | 2 |
| jay-babu | 2 | 0 | 0 | 2 |
| dessalines | 2 | 0 | 0 | 1 |
| Tello-Wharton | 2 | 0 | 1 | 0 |
| zoriya | 1 | 0 | 0 | 0 |
| icopp | 1 | 0 | 0 | 1 |
| ask-786 | 1 | 0 | 0 | 0 |
| ptman | 1 | 0 | 0 | 0 |
| 4strodev | 1 | 0 | 0 | 1 |
| rouge8 | 1 | 0 | 0 | 0 |
| firu11 | 1 | 0 | 0 | 1 |
| MirtoBusico | 1 | 0 | 0 | 0 |
| sleighsoft | 1 | 0 | 0 | 0 |
| HughKelley | 1 | 0 | 0 | 0 |
| david-auk | 1 | 0 | 0 | 1 |
| maxdelorme | 1 | 0 | 0 | 1 |
Recent activity
Latest issues, pull requests and releases
- Issue comment#385maxdelorme2026-03-08 16:16Indentation levels
- Issue#385darold2026-03-06 10:48Indentation levels
- Issue#382HughKelley2026-01-08 14:08Autoformatting for case statements and aggregate functions
- Issue#380darold2025-12-21 11:365.9 release
- Issue comment#380darold2025-12-21 11:365.9 release
- Issue comment#251darold2025-12-21 10:10Wierd nested indenting when using multi conditional join with integer
- Issue comment#278darold2025-12-21 09:14Bad indentation with simple join?
- Issue comment#308darold2025-12-21 08:28Formatting Help (Potential Feature Request)
- Issue comment#375darold2025-12-21 05:19Incorrect indentation in PL/pgSQL after RAISE EXCEPTION ... USING
- Issue#378darold2025-12-19 04:18bad formatting -> many assignments `xxx := ...` inside CASE WHEN -> should not be one same line
- Issue comment#378darold2025-12-19 04:18bad formatting -> many assignments `xxx := ...` inside CASE WHEN -> should not be one same line
- Issue#371darold2025-12-16 06:08Dollar Quote Changed from '$e$' to '$e $'
- Issue comment#371darold2025-12-16 06:08Dollar Quote Changed from '$e$' to '$e $'
- Issue comment#371AndrewJackson20202025-12-09 17:31Dollar Quote Changed from '$e$' to '$e $'
- Issue comment#380jay-babu2025-12-05 19:515.9 release
- Issue#285ptman2025-11-19 15:28Complex formatting problem
- Issue comment#379jay-babu2025-11-12 21:04docs: github action setup instructions
- Issue#376darold2025-11-02 13:21Incorrect formatting in PL/pgSQL when using DECLARE and CASE
- Issue#374darold2025-11-02 12:31Incorrect formatting of scientific notation with exponents breaks SQL
- Issue comment#331firu112025-10-30 14:51Feature request: Vertical alignment
- Issue#373sleighsoft2025-10-02 19:24Incorrectly removing parenthesis causing broken sql
- Issue comment#372darold2025-09-15 14:19pg_format gives errors locally; but works correctly online
- Issue#372MirtoBusico2025-09-15 14:09pg_format gives errors locally; but works correctly online
- Issue#371AndrewJackson20202025-09-14 15:25Dollar Quote Changed from '$e$' to '$e $'
- Issue comment#314darold2025-09-14 10:09Wrong indent for WHERE after LEFT JOIN (again)
Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 83 stars here means stars gained during the window, not the repo's star count.