BUG #2400: '' considered invalid UTF-8 character

From: "Yusuf Siddiqui" <ysiddiqui(at)i3(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2400: '' considered invalid UTF-8 character
Date: 2006-04-18 23:34:53
Message-ID: 200604182334.k3INYrUA041176@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2400
Logged by: Yusuf Siddiqui
Email address: ysiddiqui(at)i3(dot)com
PostgreSQL version: 8.1
Operating system: Linux
Description: '' considered invalid UTF-8 character
Details:

The character '' is rejected as an invalid UTF-8 character.

Here are the steps used to recreate it:

create table test (text_field text);
insert into test (text_field) values ('');

Returned error:
invalid UTF-8 byte sequence detected near byte 0x92

This statement also does not work:
insert into test (text_field) values ('\');

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2006-04-19 02:50:24 Re: bug in windows xp
Previous Message Bruce Momjian 2006-04-18 22:51:43 Re: problem with kill script