inline_sql_syntax icon indicating copy to clipboard operation
inline_sql_syntax copied to clipboard

Postgres does no analysis on queries without closing semicolon.

Open barklan opened this issue 3 years ago • 1 comments

barklan avatar May 31 '22 16:05 barklan

Just realized who I'm replying to 😆 🤡

The analysis is done by sql-lint and it is because of this line: https://github.com/joereynolds/sql-lint/blob/9b51f2286fec84368fd9dd6eca0b4e8295de3743/src/reader/reader.ts#L37

I assume the reason being that it is difficult to tell if the query is partial or incorrect when there is no ;

nossrannug avatar Jun 05 '22 13:06 nossrannug