Re: 7.0.3 reproduceable serious select error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: robn(at)verdi(dot)et(dot)tudelft(dot)nl
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.0.3 reproduceable serious select error
Date: 2001-01-18 21:13:17
Message-ID: 5147.979852397@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

robn(at)verdi(dot)et(dot)tudelft(dot)nl (Rob van Nieuwkerk) writes:
> The problem is that a SELECT with a certain LIKE condition in combination
> with a GROUP BY does not find the proper records when there is an index on
> the particular column present. When the index is removed the SELECT *does*
> return the right answer.

Are you running the postmaster in a non-ASCII locale? This sounds like
the old LIKE index optimization problem that we've struggled with for
quite a while now. 7.1 works around it by disabling the optimization
in non-ASCII locales, which is unpleasant but at least it gives right
answers ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rob van Nieuwkerk 2001-01-18 21:23:26 Re: 7.0.3 reproduceable serious select error
Previous Message Travis Bauer 2001-01-18 21:08:34 PlPerl.c patch