Re: Query in function not using index...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Listmail <lists(at)peufeu(dot)com>
Cc: "John Cole" <john(dot)cole(at)uai(dot)com>, "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Query in function not using index...
Date: 2007-04-28 17:24:24
Message-ID: 13866.1177781064@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Listmail <lists(at)peufeu(dot)com> writes:
>> We were looking at the explain results and noticed that it was
>> converting
>> the 'wynn%' into fname >= 'wynn' and fname < 'wyno'

> Does this also work if the last character is a unicode character ?

In C locale it does, though you have to be careful to avoid generating
an invalid encoding.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Harald Armin Massa 2007-04-28 18:15:52 Re: Feature Request --- was: PostgreSQL Performance Tuning
Previous Message Jaime Casanova 2007-04-28 17:20:17 Re: [GENERAL] Indice en Date