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/ (by darold)
sqlfmt
SQL formatter with width-aware output (by mjibson)
Our great sponsors
pgFormatter | sqlfmt | |
---|---|---|
4 | 2 | |
1,601 | 401 | |
- | - | |
5.5 | 1.6 | |
about 1 month ago | about 1 year ago | |
PLpgSQL | Go | |
PostgreSQL License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pgFormatter
Posts with mentions or reviews of pgFormatter.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-21.
- Command line SQL formatter or beautifier
- Ask HN: Preferred SQL Auto-Formatter?
-
How did you guys replace ALE?
I needed a formatter for SQL, didn’t like the available one and it took 10 lines of Lua to write a custom one for this.
-
What do you use to format SQL in PostgreSQL dialect?
I have found this https://github.com/darold/pgFormatter, but I am not sure if there is something else that I haven't discovered yet.
sqlfmt
Posts with mentions or reviews of sqlfmt.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-07.
- What do you use to format SQL in PostgreSQL dialect?
-
Emacs as SQL client with LSP
gem install sqlint go get github.com/lighttiger2505/sqls wget -q -O - https://github.com/mjibson/sqlfmt/releases/download/v0.4.0/sqlfmt_0.4.0_darwin_amd64.tar.gz | tar -xpvzf - --directory "$HOME/go/bin" # for other distros you can check out the releases # here: https://github.com/mjibson/sqlfmt/releases # remember to extract the files to your go path
What are some alternatives?
When comparing pgFormatter and sqlfmt you can also consider the following projects:
nvim-ale-diagnostic - Display Neovim LSP diagnostics in ALE.
laurisp - My elisp and emacs snippets aside .spacemacs and .emacs.d
sqlfmt - SQL Formatter
go - The Go programming language
sqlfluff - A modular SQL linter and auto-formatter with support for multiple dialects and templated code.
.dotfiles
ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
sqlf