"Guillaume Smet" <[EMAIL PROTECTED]> writes:
> On 9/4/06, Tom Lane <[EMAIL PROTECTED]> wrote:
>> I propose that for ILIKE in multibyte encodings, we just pass the strings
>> through lower() and then use the normal LIKE code.

> Perhaps it's a stupid question but what about the indexes? An index on
> lower(field) will be used by the new code or we wiil keep the current
> behaviour of ILIKE?

No, this is just an internal change in the function's implementation,
it won't have any effect like that.  If you want indexing you'd still
need to write out "lower(col) like whatever".

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to