Fix for new postgresql version
Merge pull request #12 from vozerov/postgresql-9.4

Fix for new postgresql version