purcell / sqlint

Simple SQL linter supporting ANSI and PostgreSQL syntaxes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cant support create db if not exists command

santhosh34 opened this issue · comments

CREATE DATABASE IF NOT EXISTS somedd;
Tool throwing ERROR syntax error at or near "NOT"

I think this is a side effect of #22, ie. we're waiting on an update in an upstream library in order to support PostgreSQL 12+ syntax like this.

So: closed at duplicate, but thanks for the report.