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

Fix for new postgresql version