X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 550949FB2F9 for ; Fri, 4 Aug 2006 14:07:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 96944-03 for ; Fri, 4 Aug 2006 14:06:59 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from stash.illumen.com (unknown [64.207.29.137]) by postgresql.org (Postfix) with ESMTP id 019CD9FB282 for ; Fri, 4 Aug 2006 14:06:58 -0300 (ADT) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6B7E8.64949EC2" Subject: Restoring dtabase problem X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 4 Aug 2006 11:06:57 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Restoring dtabase problem Thread-Index: Aca36GSCeDn1rcDtTx6rUmjh7fx5lA== From: "Benjamin Krajmalnik" To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=AWL, HTML_MESSAGE, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/44 X-Sequence-Number: 22588 This is a multi-part message in MIME format. ------_=_NextPart_001_01C6B7E8.64949EC2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am trying to restore a database from a pg_dump. I have a problematic issue in that a few rows have a problem with UTF-8 encoding. All of these rows are in a specific table. Is there something I can run against the table which will validate the rows which have the bad data and delete the rows? =20 The database is quite large (8GB) and I was informed that it would be much faster to restore using the COPY method as opposed to the INSERT method. Any and all assistance will be deeply appreciated. =20 Regards, =20 Benjamin ------_=_NextPart_001_01C6B7E8.64949EC2 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
I am = trying to=20 restore a database from a pg_dump.
I have = a problematic=20 issue in that a few rows have a problem with UTF-8 = encoding.
All of = these rows=20 are in a specific table.
Is = there something I=20 can run against the table which will validate the rows which have the = bad data=20 and delete the rows?
 
The = database is=20 quite large (8GB) and I was informed that it would be much faster to = restore=20 using the COPY method as opposed to the INSERT = method.
Any = and all=20 assistance will be deeply appreciated.
 

Regards,
 
Benjamin
------_=_NextPart_001_01C6B7E8.64949EC2--