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

Re: query planner: automatic rescribe of LIKE to BETWEEN ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: espero7757(at)gmx(dot)net
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: query planner: automatic rescribe of LIKE to BETWEEN ?
Date: 2006-08-22 21:12:33
Message-ID: 11769.1156281153@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-performance
Ulrich Habel <espero7757(at)gmx(dot)net> writes:
> Anythings speeks against this hack?

Only that it was done years ago.

As Alvaro mentions, if you are using a non-C locale then you need
non-default index opclasses to get it to work.  Non-C locales usually
have index sort orders that don't play nice with this conversion.

			regards, tom lane

In response to

pgsql-performance by date

Next:From: Jeff DavisDate: 2006-08-22 21:34:08
Subject: PowerEdge 2950 questions
Previous:From: Charles SprickmanDate: 2006-08-22 20:59:38
Subject: Benchmarks

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