Re: COPY fails on 8.1 with invalid byte sequences in text

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: COPY fails on 8.1 with invalid byte sequences in text
Date: 2006-11-01 04:18:53
Message-ID: 12032.1162354733@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> Is this not a bug?

I don't actually see that it is. The documentation is perfectly clear
on the point:

(It is your responsibility that the byte sequences you create
are valid characters in the server character set encoding.)

(This is in 4.1.2.1. String Constants) If you don't want to deal with
this, don't use octal escapes to construct multibyte characters.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael van Rooyen 2006-11-01 13:19:16 BUG #2729: Backslash escaping not working as expected
Previous Message Yee 2006-11-01 04:13:45 BUG #2728: Core dump while pgdump DB