Thread: pgsql: Remove regex_flavor GUC, so that regular expressions are always
pgsql: Remove regex_flavor GUC, so that regular expressions are always
From
tgl@postgresql.org (Tom Lane)
Date:
Log Message: ----------- 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. Modified Files: -------------- pgsql/doc/src/sgml: config.sgml (r1.231 -> r1.232) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/config.sgml?r1=1.231&r2=1.232) func.sgml (r1.490 -> r1.491) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/func.sgml?r1=1.490&r2=1.491) pgsql/src/backend/utils/adt: regexp.c (r1.83 -> r1.84) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/regexp.c?r1=1.83&r2=1.84) selfuncs.c (r1.262 -> r1.263) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/selfuncs.c?r1=1.262&r2=1.263) pgsql/src/backend/utils/misc: guc.c (r1.522 -> r1.523) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c?r1=1.522&r2=1.523) postgresql.conf.sample (r1.268 -> r1.269) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/postgresql.conf.sample?r1=1.268&r2=1.269) pgsql/src/include/regex: regex.h (r1.31 -> r1.32) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/regex/regex.h?r1=1.31&r2=1.32) pgsql/src/include/utils: builtins.h (r1.340 -> r1.341) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/builtins.h?r1=1.340&r2=1.341) pgsql/src/test/regress/expected: guc.out (r1.7 -> r1.8) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/guc.out?r1=1.7&r2=1.8) pgsql/src/test/regress/sql: guc.sql (r1.7 -> r1.8) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/guc.sql?r1=1.7&r2=1.8)