pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hunter Hillegas <lists@lastonepicked.com>
To: PostgreSQL <pgsql-general@postgresql.org>
Subject: Copying into Unicode - Correcting Errors
Date: Tue, 23 Nov 2004 15:56:59 -0800
Message-ID: <BDC90E4B.4D934%lists@lastonepicked.com> (raw)

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





view thread (3+ messages)  latest in thread

Message-ID: <BDC90E4B.4D934%lists@lastonepicked.com>
Permalink:  ../BDC90E4B.4D934%25lists@lastonepicked.com/
Also on:    postgresql.org/message-id/BDC90E4B.4D934%lists@lastonepicked.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: lists@lastonepicked.com, pgsql-general@postgresql.org
  Subject: Re: Copying into Unicode - Correcting Errors
  In-Reply-To: <BDC90E4B.4D934%lists@lastonepicked.com>
  References: <BDC90E4B.4D934%lists@lastonepicked.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox