Posgresql: Incorrect intentation for one-byte character literal
andreoss opened this issue · 2 comments
andreoss commented
PostgreSQL provides a special syntax for a one-byte character E'<char>
'
sqlformat puts space after E
which is incorrect
$ echo "SELECT 'new line -> '||E'\n';" | sleek
SELECT
'new line -> ' || E '\n';
wugeer commented
@andreoss Hello, this issue has been fixed in the unreleased version. You can wait for the new version to be released, then update the sqlformat package to the latest version in sleek and try again. :)
andreoss commented
Thanks