Borvik / vscode-postgres

PostgreSQL extension for vscode providing explorer, highlighting, diagnostics, and intellisense
MIT License
228 stars 49 forks source link

INT showing as error #208

Closed rithle closed 2 years ago

rithle commented 2 years ago

INT is underlined as an error in Postgres language file. Query still runs correctly and table created.

CREATE TABLE basket_a ( a INT PRIMARY KEY, fruit_a VARCHAR(100) NOT NULL );

rithle commented 2 years ago

Issue no longer occurring after vscode re-start. Closing issue.

Borvik commented 2 years ago

It is possible there are some queries that won't run and report problems - even if they are completely valid (DROP DATABASE comes to mind).

While this one runs - it fails the EXPLAIN ANALYZE that powers the error checking.