Re: like vs =

From: Stefan Holzheu <stefan(dot)holzheu(at)bayceer(dot)uni-bayreuth(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: like vs =
Date: 2006-01-18 08:00:08
Message-ID: 43CDF588.6040308@bayceer.uni-bayreuth.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Tom Lane schrieb:
> Stefan Holzheu <stefan(dot)holzheu(at)bayceer(dot)uni-bayreuth(dot)de> writes:
>>Other queries with the equal operator do match rows. Am I missing something?
>
>>Postgresql: 8.1.1
>>Fieldtype: text
>>Database encoding: Latin9
>
> What LC_COLLATE locale are you using? Your report looks a whole lot
> like the recently identified problem with locales that think that some
> not-bitwise-identical strings are "equal", as in this thread:
> http://archives.postgresql.org/pgsql-general/2005-12/msg00740.php

LC_COLLATE was POSIX

>
> If the same queries return sane results after doing set enable_indexscan
> = off, then that's probably what the problem is. If so, updating to
> 8.1.2 and REINDEXing should fix it.
>

You were right. Query works now. Thanks

Stefan

> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
>

--
-----------------------------
Dr. Stefan Holzheu
Tel.: 0921/55-5720
Fax.: 0921/55-5709
BayCEER
EDV und Datenbanken
Universitaet Bayreuth
D-95440 Bayreuth
-----------------------------

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Kai Hessing 2006-01-18 09:51:12 Re: [GENERAL] Problem with restoring database from 7.3.1 to 8.0.1
Previous Message Rajesh Kumar Mallah 2006-01-18 06:42:05 killing a query safely