improved psql script readability hotfix