Why is there a tsquery data type?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Why is there a tsquery data type?
Date: 2007-08-29 20:22:23
Message-ID: 200708292022.l7TKMNm19553@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Brar Piening 2007-08-29 20:30:25 Re: Contrib modules documentation online
Previous Message Andrew Dunstan 2007-08-29 20:18:31 Re: [HACKERS] Contrib modules documentation online