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. +