Skip site navigation (1) Skip section navigation (2)

Re: COPY FROM/TO losing a single byte of a multibyte UTF-8 sequence

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Steven Schlansker <steven(at)trumpet(dot)io>
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: COPY FROM/TO losing a single byte of a multibyte UTF-8 sequence
Date: 2010-08-21 17:07:39
Message-ID: 22880.1282410459@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers
Steven Schlansker <steven(at)trumpet(dot)io> writes:
> Anyway, it looks like this is actually a BSD bug which got copy +
> pasted into Apple's Darwin source -
> http://lists.freebsd.org/pipermail/freebsd-i18n/2007-September/000157.html

I've applied a patch for this to HEAD & 9.0:
http://archives.postgresql.org/pgsql-committers/2010-08/msg00273.php

I'm reluctant to back-patch it into already-released branches, though.
Given the lack of prior reports, the odds of breaking something for
somebody in a minor release seem to outweigh the odds of doing good.
But you could easily drop it into a local copy of 8.4 if you wish.

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-08-21 17:12:26
Subject: Re: Version Numbering
Previous:From: Sergio A. KesslerDate: 2010-08-21 17:06:47
Subject: Re: Version Numbering

pgsql-bugs by date

Next:From: Johnny WangDate: 2010-08-23 10:27:36
Subject: BUG #5627: Can not install on POSReady 2009
Previous:From: Tom LaneDate: 2010-08-21 14:12:27
Subject: Re: BUG #5626: Parallel pg_restore fails with "tuple concurrently updated"

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group