pgsanity
https://github.com/markdrago/pgsanity
Python
Check syntax of postgresql sql files
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported1 Subscribers
Add a CodeTriage badge to pgsanity
Help out
- Issues
- \gexec and other commands are flagged as errors
- Doesn't work with psql meta-commands & plpgsql syntax?
- pgsanity should work sanely when encountering a unicode BOM
- False positive on JSON operator '#>' and '#>>'
- Trips up on field named `reference`
- SQL-chunking algorithm may treat invalid SQL as a comment
- Merge for tweaks that address BOM-table problems and step over psql-commands.
- Docs
- Python not yet supported