Add quote() on some queries to make correctly working on postgreSQL
Merge pull request #137 from xillibit/patch-11

Add quote() on some queries to make correctly working on postgreSQL