| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Why is there a tsquery data type? |
| Date: | 2008-03-12 19:41:31 |
| Message-ID: | 200803121941.m2CJfVF06131@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)cheapcomplexdevices(dot)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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2008-03-12 19:51:14 | Re: SET TRANSACTION not compliant with SQL:2003 |
| Previous Message | Bruce Momjian | 2008-03-12 19:37:00 | Re: BUG #4027: backslash escaping not disabled in plpgsql |