BUG #1345: pgsql character comparison bug

Поиск
Список
Период
Сортировка
Искать

BUG #1345: pgsql character comparison bug

От:
"PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>
Дата:
The following bug has been logged online:

Bug reference:      1345
Logged by:          Sir Ki-Sirk

Email address:      akbarofmg@empal.com

PostgreSQL version: 8.0 Beta

Operating system:   WINDOW 2003 Enterprise

Description:        pgsql character comparison bug

Details: 


I am a C++ and pgsql beginner.
When using PostgreSQL 8.0.0 Beta 5 in Window-2003-Enterprise
I find that PostgreSQL 8.0.0 Beta 5 has simple-character-comparison-bug

see below;

QUERY=

select
chr(8) 

 a1 | a2 | a3 | a4 | a5 | a6 | a7 | a8 | a9
----+----+----+----+----+----+----+----+---
 t  | t  | t  | t  | t  | f  | t  | t  | t
(1 row)

Oh! the value of a6 field is "f" !!!

Please Fix this BUG

Re: BUG #1345: pgsql character comparison bug

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"PostgreSQL Bugs List"  writes:
> select
> chr(13) Oh! the value of a6 field is "f" !!!

Works fine for me.  Check your locale setting.

			regards, tom lane
FAQ