Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 097DC1336FA7 for ; Tue, 25 Jan 2011 00:18:26 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 59863-04 for ; Tue, 25 Jan 2011 04:18:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id 547F7133655C for ; Tue, 25 Jan 2011 00:18:25 -0400 (AST) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p0P4IOg4067350 for ; Tue, 25 Jan 2011 04:18:24 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p0P4IOvv067349; Tue, 25 Jan 2011 04:18:24 GMT (envelope-from www) Date: Tue, 25 Jan 2011 04:18:24 GMT Message-Id: <201101250418.p0P4IOvv067349@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5847: pg_restore: [archiver (db)] COPY failed: ERROR: invalid byte sequence for encoding "UTF8": 0x96 From: "Vijayakumar" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201101/180 X-Sequence-Number: 29202 The following bug has been logged online: Bug reference: 5847 Logged by: Vijayakumar Email address: mails4vijayakumar@gmail.com PostgreSQL version: 8.2 Operating system: windows Description: pg_restore: [archiver (db)] COPY failed: ERROR: invalid byte sequence for encoding "UTF8": 0x96 Details: while restoring my database i am getting the error as D:\EnterpriseDB\Postgres\8.2\bin\pg_restore.exe -i -h localhost -p 5432 -U postgres -d asasas -v "E:\backupcsv\erode.backup" pg_restore: connecting to database for restore pg_restore: creating TABLE generalledgermaster_erode pg_restore: restoring data for table "generalledgermaster_erode" pg_restore: [archiver (db)] Error while PROCESSING TOC: pg_restore: [archiver (db)] Error from TOC entry 1624; 0 121663 TABLE DATA generalledgermaster_erode postgres pg_restore: [archiver (db)] COPY failed: ERROR: invalid byte sequence for encoding "UTF8": 0x96 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". CONTEXT: COPY generalledgermaster_erode, line 374 pg_restore: creating CONSTRAINT generalledgermaster_erode_pkey pg_restore: setting owner and privileges for TABLE generalledgermaster_erode pg_restore: setting owner and privileges for CONSTRAINT generalledgermaster_erode_pkey WARNING: errors ignored on restore: 1 Process returned exit code 1.