Fixed problem with postgresql adapter
Merge pull request #18 from MASTito/master

Fixed problem with postgresql adapter