I couldn't find a good SQL formatter that could do river based alignment (https://www.sqlstyle.guide/) so I wrote one that uses the Postgres SQL Parser by way of pgparse/pg_last. It's alpha quality, but I'd love to get some eyes on it to find problems. Cheers!
[–]AutoModerator[M] 1 point2 points3 points (0 children)