select like...not using index - Mailing list pgsql-hackers

From Merlin Moncure
Subject select like...not using index
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB34101AE43@Herge.rcsinc.local
Whole thread Raw
Responses Re: select like...not using index  (pgsql@mohawksoft.com)
Re: [pgsql-hackers-win32] select like...not using index  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Sometime between yesterday and today queries in the form of
"select * from t where t.f like 'k%'" have been broken so that they
never use the index (on win32, not sure about others).

On win32, at least, they have been broken for a while but this was due
to a known issue based on the locales.  AFAICT, the current cvs has
addressed this issue and (show lc_collate returns C) there seems to be
no reason why the queries aren't working properly.

Merlin


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: SELECT * FROM LIMIT 1; is really slow
Next
From: "Marc G. Fournier"
Date:
Subject: Re: Win32, PITR, nested transactions, tablespaces