darold / pgFormatter

A PostgreSQL SQL syntax beautifier that can work as a console program or as a CGI. On-line demo site at http://sqlformat.darold.net/
PostgreSQL License
1.69k stars 101 forks source link

Bad formatting of `BEGIN ATOMIC` #339

Closed dullbananas closed 6 months ago

dullbananas commented 6 months ago

ATOMIC is indented and on a seperate line, when it should be on the same line as BEGIN

See sql_body in https://www.postgresql.org/docs/16/sql-createfunction.html

darold commented 6 months ago

Commit b701f62 fixes this issue.