vscode-sqltools icon indicating copy to clipboard operation
vscode-sqltools copied to clipboard

Formatter breaks postgres @@ syntax

Open cdalexndr opened this issue 3 years ago • 0 comments

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 avatar May 06 '21 16:05 cdalexndr