Skip to content

Bad indentation with nested array syntax #273

@marco44

Description

@marco44

No idea why the indentation is off by 1 at the end of this query

pg_format << EOF
select t1.a, 
       (array (select (b, array (select b from t2)) from t2)) from t1
EOF
SELECT
    t1.a,
    (ARRAY (
            SELECT
                (b,
                    ARRAY (
                        SELECT
                            b
                        FROM
                            t2))
                FROM
                    t2))
    FROM
        t1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions