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 format insert values #326

Open
Cheban1996 opened this issue Oct 14, 2023 · 2 comments
Open

Bad format insert values #326

Cheban1996 opened this issue Oct 14, 2023 · 2 comments

Comments

@Cheban1996
Copy link

Expected

INSERT INTO account_types(name)
VALUES 
    ('main'),
    ('sub');

But pgformatter make that

INSERT INTO account_types(name)
    VALUES ('main'),
('sub');
@Cheban1996 Cheban1996 changed the title Bad formatt insert values Bad format insert values Oct 14, 2023
@zineanteoh
Copy link

+1 this makes pgFormatter pretty much unusable :(

@darold
Copy link
Owner

darold commented Aug 7, 2024

Current code format INSERT like that:

INSERT INTO account_types (name)
    VALUES ('main'),
    ('sub'),
    ('foo');

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

3 participants