Closed bogdan closed 5 months ago
Just hit a similar failure. FWIW, adding the ;
at the end fixes things:
$ echo "SELECT * FROM companies WHERE EXISTS (SELECT 1);" | pg_format
SELECT
*
FROM
companies
WHERE
EXISTS (
SELECT
1);
I'm not able to reproduce the problem using latest development code:
$ echo "SELECT * FROM companies WHERE EXISTS (SELECT 1)" | pg_format
SELECT
*
FROM
companies
WHERE
EXISTS (
SELECT
1)
yeah, I was definitely on v5.5.
Ahhh should have checked the issues in more detail. I ran into this as well, reduced it to the EXISTS
and figured out that the semi-colon at the end fixed it.
I've checked, and it's v5.5 where I'm hitting the issue. Let me just double check latest devel.
Yep, can confirm that the issue is fixed (for me) on the latest master.
Are there any plans to cut a release any time soon?
I can try to push a new release this weekend.
Was a new release that fixes this ever made?
Any use of
EXISTS
keyword causes an error: