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

From Tom Lane
Subject Re: Why is there a tsquery data type?
Date
Msg-id 3786.1188497432@sss.pgh.pa.us
Whole thread Raw
In response to Re: Why is there a tsquery data type?  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
Responses Re: Why is there a tsquery data type?  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: Re: Advice on MyXactMade* flags, MyLastRecPtr, pendingDeletes and lazy XID assignment
Next
From: Tom Lane
Date:
Subject: Re: Advice on MyXactMade* flags, MyLastRecPtr, pendingDeletes and lazy XID assignment