| От | John R Pierce |
|---|---|
| Тема | Re: Postgres case insensitive searches |
| Дата | |
| Msg-id | 51CF1B90.4040207@hogranch.com обсуждение исходный текст |
| Ответ на | Re: Postgres case insensitive searches (bhanu udaya <udayabhanu1984@hotmail.com>) |
| Список | pgsql-general |
On 6/29/2013 9:24 AM, bhanu udaya wrote: > Upper and Lower functions are not right choice when the table is > 2.5 > million and where we also have heavy insert transactions. > > I doubt, if we can cache the table if there are frequent > inserts/updates. The good idea would be to get the DB to case > insenstive configuration like SQL Server. I would go for this > solution, if postgres supports. you need an INDEX on lower(field) or upper(field). this is only computed when values are inserted. if you like a specific feature of SQL Server, then by all means, use SQL Server. postgres does not and will not support automatic case insensitive data. -- john r pierce 37N 122W somewhere on the middle of the left coast
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера