Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group