pgFormatter

v 5.6 Updated: 4 months, 3 weeks ago

PostgreSQL SQL syntax beautifier

This SQL formatter/beautifier supports keywords from SQL-92, SQL-99, SQL-2003, SQL-2008, SQL-2011 and PostgreSQL specifics keywords. Works with any other databases too. pgFormatter can work as a console program or as a CGI. It will automatically detect its environment and format output as text or as HTML following the context. It can also return a JSON-formatted response if used as CGI with 'Accept: application/json'. Keywords highlighting will only be available in CGI context.

https://github.com/darold/pgFormatter

To install pgFormatter, paste this into the macOS Terminal after installing MacPorts

sudo port install pgFormatter

Add to my watchlist

Installations 1
Requested Installations 1