pgsql: Remove regex_flavor GUC, so that regular expressions are always

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove regex_flavor GUC, so that regular expressions are always
Date: 2009-10-21 20:38:58
Message-ID: 20091021203858.866ED753FB7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2009-10-23 05:24:52 pgsql: When querying a table with child tables, do not check permissions
Previous Message Tom Lane 2009-10-21 20:22:38 pgsql: Remove add_missing_from GUC and associated parser support for