Fixes #607 PostgreSQL error on 1.8 upgrader
Merge pull request #610 from Stefan-ST/fix-607

Fixes #607 PostgreSQL error on 1.8 upgrader