mtxr / vscode-sqltools

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

Completions for table names in PostgreSQL is not fully correct #1040

Open DoctorKrolic opened 1 year ago

DoctorKrolic commented 1 year ago

To Reproduce:

CREATE TABLE "Games"();
DROP TABLE $$

Invoke completions at $$

Expected behavior: Suggested completion automatically escapes name Games and results in "Games" being inserted: Code_JhDiwqyxdw

Actual behaviour:

Desktop (please complete the following information):