Re: Could regexp_matches be immutable?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Could regexp_matches be immutable?
Дата
Msg-id 1256119065.12996.0.camel@fsopti579.F-Secure.com
обсуждение исходный текст
Ответ на Re: Could regexp_matches be immutable?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Could regexp_matches be immutable?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: Client application name
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: UTF8 with BOM support in psql