BUG #1345: pgsql character comparison bug - Mailing list pgsql-bugs

From PostgreSQL Bugs List
Subject BUG #1345: pgsql character comparison bug
Date
Msg-id 20041210214110.EDA497385E8@www.postgresql.com
Whole thread Raw
Responses Re: BUG #1345: pgsql character comparison bug
List pgsql-bugs
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) <chr(9)  AS A1,
chr(9) <chr(10) AS A2,
chr(10)<chr(11) AS A3,
chr(11)<chr(12) AS A4,
chr(12)<chr(13) AS A5,
chr(13)<chr(14) AS A6,
chr(14)<chr(15) AS A7,
chr(15)<chr(16) AS A8,
chr(16)<chr(17) AS A9;

Exec --->

 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

pgsql-bugs by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: pg_autovacuum fails to run as a windows service (beta4)
Next
From: "Steve McWilliams"
Date:
Subject: Problems with "-w" option on pg_ctl.exe running as a service