markdrago / pgsanity

Check syntax of postgresql sql files
MIT License
316 stars 28 forks source link

Error when file has block comment on last line #1

Closed RobAu closed 12 years ago

RobAu commented 12 years ago

I have a file that contains mutiple statements and is partly commented out, like this:

select * from aap;

/ select * from aap; /

markdrago commented 12 years ago

Interesting! To be quite honest I didn't know that postgres supported block comments like this. I'll look in to adding support for this very soon. Thanks!

RobAu commented 12 years ago

Wow, that was a FAST reply to a issue, thanks!

On Tue, Nov 6, 2012 at 3:40 PM, Mark Drago notifications@github.com wrote:

Interesting! To be quite honest I didn't know that postgres supported block comments like this. I'll look in to adding support for this very soon. Thanks!

— Reply to this email directly or view it on GitHubhttps://github.com/markdrago/pgsanity/issues/1#issuecomment-10112705.

markdrago commented 12 years ago

Alright. I just committed a fix for this. It's all fixed up in version 0.2.4. Thanks RobAu! Nice find!