News for hackers. Stuff that matters.
Re:PgFormatter: A PostgreSQL SQL syntax beautifier by zeroimpl on Wednesday October 10, 2018 @07:03PM (#18189708)
I tried your SQL in the demo, and it came out like this:

    SELECT
        field,
        other_field
    FROM
        TABLE
    WHERE
        some_thing IN (
            SELECT
                id
            FROM
                other_table)
            AND other_field IS NOT NULL
I'd have expected the last line to have one less indentation level...

There are no comments on this comment yet.