Re: BUG #4788: bug in string comparison

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Gerhard Kirchmann <gerhard(dot)kirchmann(at)arcor(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4788: bug in string comparison
Date: 2009-05-01 12:12:56
Message-ID: 49FAE748.9090206@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Gerhard Kirchmann wrote:
> 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.

Can you provide a self-contained test case? Including the table
definition for the table, the full query, results on both versions, and
if possible, the data. If you can reproduce it with a smaller table,
that's even better.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-05-01 14:15:30 Re: Help me to solve this problem!
Previous Message Gerhard Kirchmann 2009-05-01 11:18:03 BUG #4788: bug in string comparison