The following bug has been logged online:
Bug reference: 2713
Logged by:
Email address: devrabbit@gmx.net
PostgreSQL version: 8.1.5
Operating system: Windows XP
Description: Restore and Backup (Error: 0xe46973)
Details:
If I create a backup with pg_backup and try to restore it with pg_restore,
then following error appears in log:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
pg_restore: [archiver (db)] Error while INITIALIZING:
pg_restore: [archiver (db)] could not execute query: ERROR: invalid byte
sequence for encoding "UTF8": 0xe46973
HINT: This error can also happen if the byte sequence does not match the
encoding expected by the server, which is controlled by "client_encoding".
Command was: --
-- PostgreSQL database dump
--
-- Started on 2006-10-23 15:43:37 Westeuropäische Normalzeit
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
At the end of the log i see following:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
WARNING: errors ignored on restore: 1
Prozess beendet mit Exitcode 1.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
The problem is, that my application never become Exitcode 0. (Restore was
complete, but not the return-value of pg_restore.)
Is such problem already known?
Regards,
Andreas