Pass postgres dialect to utils for where formatting
Merge pull request #703 from seth-admittedly/master

Fix quotation escape in postgres where conditions