Unix Technical Forum

Re: There is a doubt of fatal bug on PostgreSQL 8.0.4.

This is a discussion on Re: There is a doubt of fatal bug on PostgreSQL 8.0.4. within the pgsql Bugs forums, part of the PostgreSQL category; --> > What locale is the database using? Strange comparison behavior is > fairly common if the locale expects a ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 09:33 AM
Kasahara Kenichi
 
Posts: n/a
Default Re: There is a doubt of fatal bug on PostgreSQL 8.0.4.

> What locale is the database using? Strange comparison behavior is
> fairly common if the locale expects a different encoding than you
> are using...


locale is 'C'.
client_encoding is 'SJIS'.

Locale 'C' is the same settings when I used version 8.0.3.
I think this is right..Or should I appoint "no locale" when I initialize
database?

regards, Kenichi Kasahara

__________________________________________________ _______________
$BL5NA$G(B250MB$B$N<u?.%\%C%/%9$,;H$($k!V(BMSN Hotmail$B!W(B
http://promotion.msn.co.jp/hotmail/


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 09:33 AM
Tom Lane
 
Posts: n/a
Default Re: There is a doubt of fatal bug on PostgreSQL 8.0.4.

"Kasahara Kenichi" <kenjpm90@hotmail.com> writes:
>> What locale is the database using? Strange comparison behavior is
>> fairly common if the locale expects a different encoding than you
>> are using...


> locale is 'C'.


Hm, it should work OK with C locale. I get apparently-correct output
on my 8.0 installation:

CREATE TABLE
INSERT 155246 1
INSERT 155247 1
INSERT 155248 1
id | name
----+--------------
1 | $B$"$"$"(B
(1 row)

id | name
----+------
(0 rows)

> client_encoding is 'SJIS'.


Um ... you said EUC_JP before. But I get the same result either way.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:38 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com