added postgresql check
Merge pull request #48 from cybermerc/master

added postgresql check