| От | Sigi Jekabsons |
|---|---|
| Тема | Re: fast case-insensitive sort |
| Дата | |
| Msg-id | 005801c302f8$6600a890$7c01a8c0@microvac обсуждение исходный текст |
| Ответ на | Re: fast case-insensitive sort (Stephan Szabo <sszabo@megazone23.bigpanda.com>) |
| Ответы |
Re: fast case-insensitive sort
|
| Список | pgsql-sql |
The table 'cands' has a 'cand_id' int4 primary key, indexed and specified unique. 'surname' is varchar(255), indexed in the manner shown on my previous post. You're quite right, though, I just tried indexing and sorting by a column of type text and that worked just fine, it used the index in the order by. Why is that? > What's the table look like (what type is surname)? I can get behavior > like this using a varchar, but it uses the index when the field is > declared as text. >
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера