| От | Tom Lane |
|---|---|
| Тема | Re: Why is there a tsquery data type? |
| Дата | |
| Msg-id | 12966.1188429969@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Why is there a tsquery data type? (Bruce Momjian <bruce@momjian.us>) |
| Ответы |
Re: Why is there a tsquery data type?
|
| Список | pgsql-hackers |
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> By that logic, we don't need any data types other than text.
> What is tsquery giving us that text would not?
A preprocessed representation that can be compared to tsvector
efficiently.
Now, if you'd asked whether we need *both* tsvector and tsquery,
that'd be a fair question. I'm not 100% clear on what the differences
are, but they seem pretty subtle. Do you think that having only
one datatype would be clearer?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера