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

Formatter breaks postgres @@ syntax #803

Closed
5 tasks
cdalexndr opened this issue May 6, 2021 · 0 comments · Fixed by #936
Closed
5 tasks

Formatter breaks postgres @@ syntax #803

cdalexndr opened this issue May 6, 2021 · 0 comments · Fixed by #936
Labels
formatting pg PostgreSQL driver triage

Comments

@cdalexndr
Copy link

Describe the bug
Formatting sql with postgres operator @@ adds a space between resulting in invalid sql @ @.

To Reproduce
Steps to reproduce the behavior:

  1. Format lexeme @@ plainto_tsquery('en', 'keyword')
  2. Result invalid: lexeme @ @ plainto_tsquery('en', 'keyword')

Expected behavior
lexeme @@ plainto_tsquery('en', 'keyword')

Desktop (please complete the following information):

  • SQLTools Version 0.23.0
  • VSCode Version: 1.56.0
  • OS: Windows
  • Driver:
    • PostgreSQL/Redshift
    • MySQL/MariaDB
    • MSSQL/Azure
    • SQLite
    • Other? Which...
  • Database version: [e.g. MySQL v5.6, PostgreSQL vX...]
@cdalexndr cdalexndr changed the title Breaks postgres @@ syntax Formatter breaks postgres @@ syntax May 6, 2021
@gjsjohnmurray gjsjohnmurray added formatting pg PostgreSQL driver labels Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
formatting pg PostgreSQL driver triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants