Re: [PERFORM] cant get an index scan with a LIKE

2008-10-06 Thread Greg Caulton
That worked great - THANKS! CREATE INDEX sct_descriptions_k2 ON sct_descriptions USING btree (term_index varchar_pattern_ops); I noticed I had to keep the original index for the non-like operator but that is not a big deal CREATE INDEX sct_descriptions_k1 ON sct_descriptions USING btr

Re: [PERFORM] cant get an index scan with a LIKE

2008-10-06 Thread Kevin Grittner
>>> "Greg Caulton" <[EMAIL PROTECTED]> wrote: > but I get a sequential scan when I do where term_index like > > select * from sct_descriptions where term_index like 'CHILLS AND FEVER > (FINDING)' > Is there anything else I can do? Settings below, this is PostgreSQL 8.3 > "lc_collate";"Engl