Re: Why is there a tsquery data type?

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: int8 & INT64_IS_BUSTED
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: Advice on MyXactMade* flags, MyLastRecPtr, pendingDeletes and lazy XID assignment