| От | Tom Lane |
|---|---|
| Тема | Re: Varchar Vs. Text index matching - why different? |
| Дата | |
| Msg-id | 23364.1048173492@sss.pgh.pa.us обсуждение |
| Ответ на | Varchar Vs. Text index matching - why different? (Philip Warner <pjw@rhyme.com.au>) |
| Ответы |
Re: Varchar Vs. Text index matching - why different?
|
| Список | pgsql-hackers |
Philip Warner <pjw@rhyme.com.au> writes:
> I just noticed that comparing a text to a varchar results in an index not
> being used without a cast in some circumstances. Given that they have
> identical internal representations (or so I believe), that seems a little odd.
But they're not the same datatype.
I have been wondering whether we couldn't eliminate the datatype
distinction between text and varchar. Haven't gotten around to thinking
about it though; the mess in the numeric-datatype world seems higher
priority.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера