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.66k stars 100 forks source link

Bad formatting of `BEGIN ATOMIC` #339

Closed dullbananas closed 4 months ago

dullbananas commented 4 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 4 months ago

Commit b701f62 fixes this issue.