AbeEstrada / atom-format-sql

https://atom.io/packages/format-sql
MIT License
5 stars 4 forks source link

Receive error on Every Format SQL attempt #4

Open josh-padnick opened 10 years ago

josh-padnick commented 10 years ago

I'm using Postgres and have a tool that auto-generates my SQL (jOOQ). I'm unable to format any SQL's, and I always receive this error:

Error: Parse error on line 2: Unexpected 'DOT'↵  a… at process.EventEmitter.emit (events.js:110:17)

Here's an example SQL I'm trying to parse:

select "aragorn_public_notify"."notify_event"."notify_event_id" from "aragorn_public_notify"."notify_event"
klippx commented 9 years ago

Yep, seems like legal postgresql SQL. See also https://github.com/AbeEstrada/atom-format-sql/issues/10