pgFormatter 5.4 released

From: MigOps via PostgreSQL Announce <announce-noreply(at)postgresql(dot)org>
To: PostgreSQL Announce <pgsql-announce(at)lists(dot)postgresql(dot)org>
Subject: pgFormatter 5.4 released
Date: 2023-01-11 19:44:50
Message-ID: 167346629052.2667295.879385869418923587@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce

Grenoble - January 11, 2023

##pgFormatter 5.4 released

Version 5.4 of pgFormatter, a free and reliable tool used to format
SQL and PLPGSQL code, has been officially released and is publicly
available for download. A demonstration site is available online at
[http://sqlformat.darold.net](http://sqlformat.darold.net/)

pgFormatter 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 maintenance release fixes issues reported by users since the last five
months with some improvements and new features.

New options and features:

* Add option `--no-space-function`, when used pgFormatter removes the
space character between a function call and the open parenthesis that
follow. By default pgFormatter adds a space character, for example:<br />
&emsp;`DROP FUNCTION IF EXISTS app_public.hello (a text);`<br />
When this option is used the resulting query is formatted as follow:<br />
&emsp;`DROP FUNCTION IF EXISTS app_public.hello(a text);`<br />
Available in CGI mode as a checkbox.
* Add command line option `--extra-keyword` to apply keywords formatting to
a list of additional keywords defined in a file (one keyword per line).
You can al so pass a special value 'redshift' instead of a path to a file
to use the keywords defined internally in pgFormatter for this database.
This was historically possible through the `-r | --redshift` option that
is now obsolete and will be removed in the future.

For the complete list of changes see: [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.

Browse pgsql-announce by date

  From Date Subject
Next Message pgAdmin Development Team via PostgreSQL Announce 2023-01-20 10:51:22 pgAdmin 4 v6.19 Released
Previous Message Softbuilder via PostgreSQL Announce 2023-01-11 08:18:06 Softbuilder Announces Launch of SB Data Generator 2.2