Re: Best practices for moving UTF8 databases - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Best practices for moving UTF8 databases
Date
Msg-id 20090714135229.GB4799@alvh.no-ip.org
Whole thread Raw
In response to Re: Best practices for moving UTF8 databases  (Andres Freund <andres@anarazel.de>)
Responses Re: Best practices for moving UTF8 databases
Re: Best practices for moving UTF8 databases
List pgsql-general
Andres Freund wrote:
> On Tuesday 14 July 2009 11:36:57 Jasen Betts wrote:

> > if you do an ascii dump and the dump starts out "SET CLIENT ENCODING
> > 'UTF8'" or similar but you still get errors.
> Do you mean that a dump from SQL_ASCII can yield non-utf8 data? right. But
> According to the OP his 8.3 database is UTF8...
> So there should not be invalid data in there.

I haven't followed this thread, but older PG versions had less strict
checks on UTF8 data, which meant that some invalid data could creep in.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Ascending / Descending Indexes
Next
From: "Clark Slater"
Date:
Subject: filter duplicates by priority