X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B86C49DC94D for ; Fri, 24 Mar 2006 03:21:38 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 35220-07 for ; Fri, 24 Mar 2006 03:21:38 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.203]) by postgresql.org (Postfix) with ESMTP id 88BC39DC82F for ; Fri, 24 Mar 2006 03:21:36 -0400 (AST) Received: by xproxy.gmail.com with SMTP id t5so510005wxc for ; Thu, 23 Mar 2006 23:21:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Y9qXWLT+Zf84uAqROY5cTxIcmfRo9PdRZ1WqXSbkLPDjmFBwhoJ6qcd+py4WEJiQlHF5ApGQc7c03Iv5o/vZ1Yi96/aKkD4Nmb8n2BhsyLl+EV1+BBUVyZcar055k0Lcdvj8XZdrhtPC7VFBAraUizJldg8fjm2/So5t2xz71lE= Received: by 10.70.78.19 with SMTP id a19mr790678wxb; Thu, 23 Mar 2006 23:21:33 -0800 (PST) Received: by 10.70.62.12 with HTTP; Thu, 23 Mar 2006 23:21:33 -0800 (PST) Message-ID: <30d51d840603232321u64e281a0u14627d3a19cb0a21@mail.gmail.com> Date: Fri, 24 Mar 2006 15:21:33 +0800 From: "weng yan" To: pgsql-admin@postgresql.org Subject: An exception when using UTF8 encoding MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13595_16815703.1143184893477" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.001 required=5 tests=[HTML_MESSAGE=0.001] X-Spam-Score: 0.001 X-Spam-Level: X-Archive-Number: 200603/246 X-Sequence-Number: 21003 ------=_Part_13595_16815703.1143184893477 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I met a headache problem. I'm a novice of PostgreSQL. I create a database with name "Users" and the encoding is UTF8. But when I connected the database and input \d command to list relations= , I met a strange exception. Users=3D> show server_version; server_version ---------------- 8.1.0 (1 ?) Users=3D> \d ERROR: invalid UTF-8 byte sequence detected near byte 0xb1 Users=3D> Is it a bug? Best regards ------=_Part_13595_16815703.1143184893477 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi,
   I met a headache problem. I'm a novice of PostgreSQL= .
   I create a database with name "Users"= and the encoding is UTF8.
   But when I connected the database and input \d comma= nd to list relations, I met a strange exception.
  
Users=3D> show server_version;
 server_versi= on
----------------
 8.1.0
(1 ?)

Users=3D> \d
ER= ROR:  invalid UTF-8 byte sequence detected near byte 0xb1
User= s=3D>
 
Is it a bug?
 
Best regards
 
   

------=_Part_13595_16815703.1143184893477--