Bug 959123: Properly restore Postgres database to new application

https://bugzilla.redhat.com/show_bug.cgi?id=959123

Modified the post_restore function for Postgres so that it properly restores with a different application and user name.