Re: Why is there a tsquery data type?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Why is there a tsquery data type?
Date: 2007-08-29 22:35:57
Message-ID: 12179.1188426957@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <bruce(at)momjian(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Albert Cervera i Areny 2007-08-29 22:37:31 Re: [HACKERS] Contrib modules documentation online
Previous Message Florian G. Pflug 2007-08-29 22:35:29 Re: Representation of ResourceOwnerIds (transient XIDs) in system views (lazy xid assignment)