]> granicus.if.org Git - postgresql/commit
Remove regex_flavor GUC, so that regular expressions are always "advanced"
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Oct 2009 20:38:58 +0000 (20:38 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Oct 2009 20:38:58 +0000 (20:38 +0000)
commitab61df9e527dcedbd3bbefbcb8b634b0b72f2ad5
tree37681f50c738902a0a7cbe6ebc405d59042fbf30
parent289e2905c82fc37f8b82b088bb823742aad4bb68
Remove regex_flavor GUC, so that regular expressions are always "advanced"
style by default.  Per discussion, there seems to be hardly anything that
really relies on being able to change the regex flavor, so the ability to
select it via embedded options ought to be enough for any stragglers.
Also, if we didn't remove the GUC, we'd really be morally obligated to
mark the regex functions non-immutable, which'd possibly create performance
issues.
doc/src/sgml/config.sgml
doc/src/sgml/func.sgml
src/backend/utils/adt/regexp.c
src/backend/utils/adt/selfuncs.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/regex/regex.h
src/include/utils/builtins.h
src/test/regress/expected/guc.out
src/test/regress/sql/guc.sql