mtxr / vscode-sqltools

Database management for VSCode
https://vscode-sqltools.mteixeira.dev?utm_source=github&utm_medium=homepage-link
MIT License
1.48k stars 296 forks source link

SQL formatting issue = > #1004

Closed dariusdev closed 1 year ago

dariusdev commented 1 year ago

Describe the bug I am using PosrgreSQL server and have query:

SELECT create_hypertable ( 'test.test2', 'timestamp', chunk_time_interval = > INTERVAL '1 day' ) Symbol = > is formatted with space in the middle and it corrupts the query. How i can ignore that symbol formatting or configure it to format properly ?

it should be formatted chunk_time_interval => INTERVAL '1 day'

gjsjohnmurray commented 1 year ago

Fixed in #995 which will be in the next release.