-
Notifications
You must be signed in to change notification settings - Fork 411
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
Add more PostgreSQL keywords and phrases #821
Add more PostgreSQL keywords and phrases #821
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Thanks for the patch. Replying also to your comment in #820. I agree that this using SELECT template FROM tbl;
CREATE DATABASE foo TEMPLATE my_template; Unfortunately SQL Formatter doesn't understand the context to know when |
Right, I was considering whether this What I would really want is such a syntax (inspired by regular expressions), to allow for multi-keyword syntax with non-keyword parts in between:
But I'm guessing that would be a larger change. For now, I could remove the |
Yeah, that would be a major undertaking. There are several problems:
For now, yeah, I see no better approach than just dropping |
@nene makes sense, thanks for the consideration and guidance :) I'm guessing this and #820 will be included in a new published release in either the next patch or minor:
|
I released these in 15.4.9 |
Closes #809
Some specific examples: