Re: Why is there a tsquery data type?

Поиск
Список
Период
Сортировка
От Ron Mayer
Тема Re: Why is there a tsquery data type?
Дата
Msg-id 46D6FDD5.7080703@cheapcomplexdevices.com
обсуждение исходный текст
Ответ на Re: Why is there a tsquery data type?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Why is there a tsquery data type?
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
>> Why does text search need a tsquery data type?  I realize it needs
>> tsvector so it can create indexes and updated trigger columns, but it
>> seems tsquery could instead just be a simple text string.
> 
> By that logic, we don't need any data types other than text.
> 

Could similar logic argue that we'd want special types for regular
expressions too? That seems quite parallel to the tsquery type to me.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: enum types and binary queries
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: Advice on MyXactMade* flags, MyLastRecPtr, pendingDeletes and lazy XID assignment