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

Operator := #335

Open alexeysamoilov opened 5 months ago

alexeysamoilov commented 5 months ago

Thank you for this tool. And for fix #355

  1. There is an inaccuracy of formatting For еxample: v_int:= 0; Output after formatting: v_int: = 0; It can be fixed?

  2. Can make an option for the CASE statement.

    • Move the CASE to a new line.
    • Do not transfer to other lines when CASE- WHEN-ELSE- END are on the same line
darold commented 5 months ago

Point 1 is fixed now with commit 8c3814f.