Closed bogdan closed 8 months ago
Please use latest development code, this have been fixed:
$ echo "SELECT count(*) FROM (SELECT * FROM employees GROUP BY company_id HAVING count(company_id) = 1)" | perl pg_format
SELECT
count(*)
FROM (
SELECT
*
FROM
employees
GROUP BY
company_id
HAVING
count(company_id) = 1)
The following query can not be formatted:
Error:
Reproduce script: