Fixed backup issue with PostgreSQL 9.1, closes #756