Re: text_pattern_ops and complex regexps

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: text_pattern_ops and complex regexps
Дата
Msg-id 7809.1241626722@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: text_pattern_ops and complex regexps  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: text_pattern_ops and complex regexps  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
Re: text_pattern_ops and complex regexps  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> I think changeable regex flavors turned out to be a bad idea.  They can
> wreak all sorts of havoc.  You change the setting, SIGHUP, and suddenly
> your application fails to work as expected.  Maybe we should make that
> setting PGC_POSTMASTER (or just get rid of it?), and provide was to pass
> flags to change the flavor for particular operations (this is easy for
> function-based stuff but not so easy for operators).  That way it
> doesn't intrude in stuff like cached plans and so on.

Maybe so.  I think it was originally intended mostly as a
backwards-compatibility measure when we added the support for ARE
flavor.  It's pretty likely that no one changes the flavor setting
in practice anymore.  If we just locked it down as "advanced always"
then we could simplify the documentation by a measurable amount ...
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: text_pattern_ops and complex regexps
Следующее
От: Andres Freund
Дата:
Сообщение: Re: conditional dropping of columns/constraints