dbTalk Databases Forums  

[BUGS] BUG #1908: sql support chinese char error

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1908: sql support chinese char error in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
wally
 
Posts: n/a

Default [BUGS] BUG #1908: sql support chinese char error - 09-26-2005 , 11:56 AM







The following bug has been logged online:

Bug reference: 1908
Logged by: wally
Email address: wally (AT) ideassoft (DOT) com
PostgreSQL version: 8.0.3,8.0.2
Operating system: fc4,fc3,as4
Description: sql support chinese char error
Details:

when running the following sql clause,the result shoud be empty, but I get
one incorrect row.
if I use pgsql 7.4 running the same sql clause return correctly.
thanks!

ulike=# select group_name from group_info where group_name='士大夫';
group_name
------------
大长今
(1 row)

ulike=# select group_name from group_info ;
group_name
-------------
fFaf
asgfasf
hjlhjl
dfgdj
俺叫*淑芬
大长今
fdkfjwr
beijing2008
wws
dhdfj
士大夫感
(11 rows)

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply With Quote
  #2  
Old   
William ZHANG
 
Posts: n/a

Default Re: [BUGS] BUG #1908: sql support chinese char error - 10-02-2005 , 08:28 PM






It looks strange. Can you show us more information:

1. Database encoding: show server_encoding;
2. SQL scripts do create and insert the values.

""wally"" <wally (AT) ideassoft (DOT) com> wrote
Quote:
The following bug has been logged online:

Bug reference: 1908
Logged by: wally
Email address: wally (AT) ideassoft (DOT) com
PostgreSQL version: 8.0.3,8.0.2
Operating system: fc4,fc3,as4
Description: sql support chinese char error
Details:

when running the following sql clause,the result shoud be empty, but I get
one incorrect row.
if I use pgsql 7.4 running the same sql clause return correctly.
thanks!

ulike=# select group_name from group_info where group_name='ʿ';
group_name
------------
󳤽
(1 row)

ulike=# select group_name from group_info ;
group_name
-------------
fFaf
asgfasf
hjlhjl
dfgdj
κ
󳤽
fdkfjwr
beijing2008
wws
dhdfj
ʿ
(11 rows)

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend



---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.