Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad indentation with nested array syntax #273

Open
marco44 opened this issue Dec 28, 2021 · 0 comments
Open

Bad indentation with nested array syntax #273

marco44 opened this issue Dec 28, 2021 · 0 comments

Comments

@marco44
Copy link

marco44 commented Dec 28, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant