Re: Why is there a tsquery data type? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Why is there a tsquery data type?
Date
Msg-id 200803121941.m2CJfVF06131@momjian.us
Whole thread Raw
In response to Re: Why is there a tsquery data type?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Added to TODO:

* Consider a special data type for regular expressions
 http://archives.postgresql.org/pgsql-hackers/2007-08/msg01067.php


---------------------------------------------------------------------------

Tom Lane wrote:
> Ron Mayer <rm_pg@cheapcomplexdevices.com> writes:
> > Could similar logic argue that we'd want special types for regular
> > expressions too? That seems quite parallel to the tsquery type to me.
> 
> Yeah, it certainly seems like something we might want to consider in
> future --- we could get rid of that klugy cache for compiled regexps,
> for one thing.  An implicit cast from text to the regexp type would
> cover backwards compatibility issues, I think.
> 
>             regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
> 
>                http://archives.postgresql.org

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://postgres.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: MSVC build system
Next
From: Bruce Momjian
Date:
Subject: Re: SET TRANSACTION not compliant with SQL:2003