Check syntax of postgresql sql files