Re: Why is there a tsquery data type?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Why is there a tsquery data type?
Дата
Msg-id 200708292310.l7TNAAn12960@momjian.us
обсуждение исходный текст
Ответ на 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.

What is tsquery giving us that text would not?

--  Bruce Momjian  <bruce@momjian.us>          http://momjian.us EnterpriseDB
http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: int8 & INT64_IS_BUSTED
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Representation of ResourceOwnerIds (transient XIDs) in system views (lazy xid assignment)