Re: Could regexp_matches be immutable? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Could regexp_matches be immutable?
Date
Msg-id 1256119065.12996.0.camel@fsopti579.F-Secure.com
Whole thread Raw
In response to Re: Could regexp_matches be immutable?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Could regexp_matches be immutable?
List pgsql-hackers
On Tue, 2009-10-20 at 20:48 -0400, Tom Lane wrote:
> So I went to see about making the changes to remove regex_flavor, and
> was astonished to find that all the regex-related functions are already
> marked immutable, and AFAICS always have been.  This is clearly wrong,
> and we would have to fix it if we weren't about to remove the GUC.
> (In principle we should advise people to change the markings in existing
> databases, but given the lack of complaints it's probably not worth the
> trouble --- I doubt many applications change regex_flavor on the fly.)

Are you sure this wasn't intentional, because it breaks performance and
we doubted that many applications would change regex_flavor on the fly?




pgsql-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Client application name
Next
From: Peter Eisentraut
Date:
Subject: Re: UTF8 with BOM support in psql