pgFormatter v5.5 released

Posted on 2023-02-07 by MigOps
Related Open Source

Lome, Togo - February 04, 2023

pgFormatter 5.5 released

Version 5.5 of pgFormatter, a free and reliable tool used to format SQL and PL/pgSQL code, has been officially released and is publicly available for download. A demonstration site is available online at

pgFormatter is the most advanced SQL and PL/pgSQL code formatter and beautifier dedicated to PostgreSQL. It is provided as a CLI or a CGI program.

This maintenance release fixes some issues reported by users since the last month and some improvements:

  • Prevent newline in function supporting the FROM keyword like substring().
  • Add multi-line formatting on TRUNCATE with a table list.

For the complete list of changes see:

Links & Credits

Thank to the developers who submitted patches and users who reported bugs and feature requests, they are all cited in the ChangeLog file.

pgFormatter is an open project. Any contribution to build a better tool is welcome. You just have to send your ideas, features requests or patches using the GitHub tools.


About pgFormatter

pgFormatter is a SQL and PlPgsql formatter/beautifier that supports keywords from SQL-92, SQL-99, SQL-2003, SQL-2008, SQL-2011 and PostgreSQL specifics keywords. May works with any other databases too. It shares the same code with pgBadger, so any improvement made in the parser is reversed to pgBadger. Tool created and maintained by Gilles Darold.

pgFormatter works on any platform and is available under the PostgreSQL license.