BUG #4788: bug in string comparison

From: "Gerhard Kirchmann" <gerhard(dot)kirchmann(at)arcor(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4788: bug in string comparison
Date: 2009-05-01 11:18:03
Message-ID: 200905011118.n41BI3FU045506@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 4788
Logged by: Gerhard Kirchmann
Email address: gerhard(dot)kirchmann(at)arcor(dot)de
PostgreSQL version: 8.4beta1
Operating system: openSUSE 11.1
Description: bug in string comparison
Details:

I have the same table in 8.3.7 and 8.4beta1 where one column (verein_id)
contains the string "56022" in 47 rows out of about 93000 rows. Under
8.4beta1 I get only 45 rows with:
where vereind_id = '56022'
and with
where verein_id like '56022%'
I get all 47 rows.

The length of the string is always five. I work with utf-8.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2009-05-01 12:12:56 Re: BUG #4788: bug in string comparison
Previous Message Craig Ringer 2009-05-01 11:10:21 Re: Unable to make DBD-Pg-2.13.1