Re: Like seems to fail ! - Mailing list pgsql-sql

From Tom Lane
Subject Re: Like seems to fail !
Date
Msg-id 27819.974735628@sss.pgh.pa.us
Whole thread Raw
In response to Like seems to fail !  (Yves Martin <yma@elca.ch>)
List pgsql-sql
Yves Martin <yma@elca.ch> writes:
> base=# select * from persistent_config where key like '/%';
>  key | type | value 
> -----+------+-------
> (0 rows)

What LOCALE are you running in?  There are some known problems with
LIKE index optimization in some non-ASCII locales.  If you drop
the index on persistent_config.key, does the problem disappear?
        regards, tom lane


pgsql-sql by date:

Previous
From: "Shane McEneaney"
Date:
Subject: Return number of rows update in query
Next
From: "Jonathan Ellis"
Date:
Subject: Re: numeric conversions?