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: