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

Syntax errors on do, create type, create operator #38

Closed
zda opened this issue Oct 9, 2024 · 1 comment
Closed

Syntax errors on do, create type, create operator #38

zda opened this issue Oct 9, 2024 · 1 comment

Comments

@zda
Copy link

zda commented Oct 9, 2024

I had some issues with sql-formatter and thought I would give this package a try.

In my normal migrations, I got syntax errors at "DO" statements. I also saw syntax errors at "create type" and "create operator" statements in these function definitions:

https://github.com/jetify-com/typeid-sql/tree/main/sql
https://github.com/jetify-com/typeid-sql/blob/main/sql/03_typeid.sql#L8
https://github.com/jetify-com/typeid-sql/blob/main/sql/04_operator.sql#L29

I am not blocked by this; I just wanted to leave the feedback in case it was helpful.

@nene
Copy link
Owner

nene commented Oct 9, 2024

Thanks for reporting. It's much appreciated, as it's good to know which syntax support people are missing the most.

However I'll close this issue here as it's really a problem in the parser:

@nene nene closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2024
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

2 participants