Tom Lane wrote:
> Bruce Momjian <[EMAIL PROTECTED]> 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.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to