Skip site navigation (1) Skip section navigation (2)

Re: Like seems to fail !

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Yves Martin <yma(at)elca(dot)ch>
Cc: sqllist <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Like seems to fail !
Date: 2000-11-20 15:53:48
Message-ID: 27819.974735628@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-sql
Yves Martin <yma(at)elca(dot)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

In response to

pgsql-sql by date

Next:From: Jonathan EllisDate: 2000-11-20 15:59:33
Subject: Re: numeric conversions?
Previous:From: Bruno BoettcherDate: 2000-11-20 15:51:33
Subject: numeric conversions?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group