Re: Best practices for moving UTF8 databases

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Phoenix Kiula <phoenix(dot)kiula(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-general(at)postgresql(dot)org, Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
Subject: Re: Best practices for moving UTF8 databases
Date: 2009-07-20 10:28:39
Message-ID: 20090720102839.GA26779@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Jul 20, 2009 at 10:32:15AM +0800, Phoenix Kiula wrote:
> Thanks Martin. I tried searching through the archives and could only
> come with something like this:
>
> http://docs.moodle.org/en/UTF-8_PostgreSQL
>
> But this only has the usual iconv stuff suggested.
>
> Could you pls suggest some specific scripts or URLs? Or let me know
> the keywords I should look for?

I was thinking of this one:

http://www.mail-archive.com/pgsql-hackers(at)postgresql(dot)org/msg68541.html

You can use it to find the bogus strings in your existing database and
fix them. It's not really fast, but maybe it'll help.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Florian Weimer 2009-07-20 10:42:11 Re: Working around spurious unique constraint errors due to SERIALIZABLE bug
Previous Message Arndt Lehmann 2009-07-20 10:16:00 Re: PostgreSQL Databse Migration to the Latest Version and Help for Database Replication.