Re: Possible solution for LIKE optimization

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Possible solution for LIKE optimization
Date: 2001-08-06 07:19:19
Message-ID: 3B6E44F7.68457C2@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
>
> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > Wait, why isn't that the solution in the first place. Let's build the
> > index with an opclass that uses plain strcmp comparison.
>
> By George, I think you've got it! All we need is comparison ops and
> an opclass that use strcmp, even when USE_LOCALE is defined. Then we
> document "here's how you make a LIKE-compatible index in non-ASCII
> locales", and away we go.
>

Do we have to make 2 indexes for non_ASCII text field ?

regards,
Hiroshi Inoue

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB SD 2001-08-06 07:29:10 AW: partial index
Previous Message Zeugswetter Andreas SB SD 2001-08-06 06:38:03 AW: Re: OID wraparound: summary and proposal