X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E43063A4171 for ; Tue, 23 Nov 2004 23:57:07 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 67165-04 for ; Tue, 23 Nov 2004 23:56:59 +0000 (GMT) Received: from omta18.mta.everyone.net (sitemail2.everyone.net [216.200.145.36]) by svr1.postgresql.org (Postfix) with ESMTP id 57EA43A40F8 for ; Tue, 23 Nov 2004 23:57:01 +0000 (GMT) Received: from pmta02.mta.everyone.net (unknown [216.200.145.26]) by omta18.mta.everyone.net (Postfix) with ESMTP id 5802F4000C for ; Tue, 23 Nov 2004 15:57:00 -0800 (PST) X-Eon-Sig: AQG5s3xBo85MgK5rSgIAAAAB,4adca7a00b62dd87005445fdc5b9d064 Received: from [192.168.1.81] (207.13.228.2 [207.13.228.2]) by pmta02.mta.everyone.net (EON-AUTHRELAY) with ESMTP id 2984E5D8 for ; Tue, 23 Nov 2004 15:57:00 -0800 User-Agent: Microsoft-Entourage/11.1.0.040913 Date: Tue, 23 Nov 2004 15:56:59 -0800 Subject: Copying into Unicode - Correcting Errors From: Hunter Hillegas To: PostgreSQL Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/1143 X-Sequence-Number: 69223 I need to import a file into a Unicode database. I am getting an error: ERROR: Unicode characters greater than or equal to 0x10000 are not supported CONTEXT: COPY mailing_list_entry, line 30928, column first_last_name: "Ver?nica" The source file came from pg_dump... Is there a way I can easily find rows like this in the database so I can remove them before I export->import? It looks like the source database has a lot of garbage in it... I guess I'm asking if there is an 'easy' way to identify the rows that have issues so I can deal with them... The table has 400,000 rows so locating them by hand is not desirable. I am running on 8.0b5 on MacOS X. Thanks, Hunter