From: | HexaCluster via PostgreSQL Announce <announce-noreply(at)postgresql(dot)org> |
---|---|
To: | PostgreSQL Announce <pgsql-announce(at)lists(dot)postgresql(dot)org> |
Subject: | pgFormatter v5.8 has been released |
Date: | 2025-09-14 13:34:05 |
Message-ID: | 175785684526.857.12375478733293992831@wrigleys.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-announce |
Dar Es Salam, Tanzania - September 14th, 2025
## pgFormatter v5.8
pgFormatter, even if not perfect, is the most advanced SQL and PlPgsql
code formatter and beautifier dedicated to PostgreSQL. It is provided
as a CLI or a CGI program.
This release adds several formatting improvements ans fixes some issues
reported by users since the last release.
Here are the major improvements:
- Fix bad indentation for WHERE after JOIN.
- pgFormatter is now able to distinguish between single values and
multiple values INSERT statement and to format them differently.
Here an example of the output format for both:
-- multiple values form
INSERT INTO tempy_mc_tempface
VALUES
('tempy'),
('mc'),
('tempface');
-- single values form
INSERT INTO tempy_mc_tempface
VALUES ('another', 'world');
- Fix indentation issue of INSERT statements in DO block.
- Fix wrong formatting of format() function placeholders.
For the complete list of changes, please checkout the release note
on [https://github.com/darold/pgFormatter/blob/master/ChangeLog](https://github.com/darold/pgFormatter/blob/master/ChangeLog)
## 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.
Links:
* Website: [http://sqlformat.darold.net/](http://sqlformat.darold.net/)
* Download: [https://github.com/darold/pgFormatter/releases](https://github.com/darold/pgFormatter/releases)
* Development: [https://github.com/darold/pgFormatter](https://github.com/darold/pgFormatter)
* Changelog: [https://github.com/darold/pgFormatter/blob/master/ChangeLog]([https://github.com/darold/pgFormatter/blob/master/ChangeLog)
-----------------
**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.
From | Date | Subject | |
---|---|---|---|
Next Message | pgSCV via PostgreSQL Announce | 2025-09-17 12:34:35 | pgSCV 0.15.0 released! |
Previous Message | pgexporter via PostgreSQL Announce | 2025-09-14 13:33:14 | pgexporter 0.7 |