Re: Arg! PG not using index on an analyzed table

From: William Yu <wyu(at)talisys(dot)com>
To: sfpug(at)postgresql(dot)org
Subject: Re: Arg! PG not using index on an analyzed table
Date: 2005-02-03 19:31:42
Message-ID: 42027C1E.5040909@talisys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: sfpug

>> You may also be able to get away with another index on the column
>> using text_pattern_ops as the operator class if you need/want other
>> en_US features.
>
>Suppose I got to en_US by accident and need none of its features. Is
>there a reason any reason I should initdb --locale=C and restore?
>
>What benefits and detriments does en_US have over C? I'm having a hard
>time caring which I use (as long they give what I want).

The text_pattern_ops index will not work on UPPER(field) LIKE 'AAA%'
queries. My experience as of 7.4.6.

Browse sfpug by date

  From Date Subject
Next Message Josh Berkus 2005-02-04 21:13:02 Next meeting, Tuesday, February 15?
Previous Message Josh Berkus 2005-02-03 17:14:59 Re: ran vacuum, ran out of space, cant bring up psql