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: (view raw, whole thread or download thread mbox)
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


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-2017 The PostgreSQL Global Development Group