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

Fixes #607 PostgreSQL error on 1.8 upgrader