Re: Why is there a tsquery data type? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Why is there a tsquery data type?
Date
Msg-id 12179.1188426957@sss.pgh.pa.us
Whole thread Raw
In response to Why is there a tsquery data type?  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Why is there a tsquery data type?  (Bruce Momjian <bruce@momjian.us>)
Re: Why is there a tsquery data type?  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
List pgsql-hackers
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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: Re: Representation of ResourceOwnerIds (transient XIDs) in system views (lazy xid assignment)
Next
From: Albert Cervera i Areny
Date:
Subject: Re: Contrib modules documentation online