[ 源代码: pgformatter ]
软件包:pgformatter(3.3-1)
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. May works with any other databases too.
pgFormatter can work as a console program or as a CGI. pg_format will automatically detect its environment and output as text or as HTML following the context.