pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron Mayer <rm_pg@cheapcomplexdevices.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: Why is there a tsquery data type?
Date: Thu, 30 Aug 2007 10:26:45 -0700
Message-ID: <46D6FDD5.7080703@cheapcomplexdevices.com> (raw)
In-Reply-To: <12179.1188426957@sss.pgh.pa.us>
References: <200708292022.l7TKMNm19553@momjian.us>
	<12179.1188426957@sss.pgh.pa.us>

Tom Lane wrote:
> Bruce Momjian <bruce@momjian.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.
> 

Could similar logic argue that we'd want special types for regular
expressions too? That seems quite parallel to the tsquery type to me.



view thread (15+ messages)  latest in thread

Message-ID: <46D6FDD5.7080703@cheapcomplexdevices.com>
Permalink:  ../46D6FDD5.7080703@cheapcomplexdevices.com/
Also on:    postgresql.org/message-id/46D6FDD5.7080703@cheapcomplexdevices.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: rm_pg@cheapcomplexdevices.com, tgl@sss.pgh.pa.us
  Subject: Re: Why is there a tsquery data type?
  In-Reply-To: <46D6FDD5.7080703@cheapcomplexdevices.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox