pgsql: Back-patch fix for extraction of fixed prefixes from regular exp - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Back-patch fix for extraction of fixed prefixes from regular exp
Date
Msg-id E1SoiUw-0004Jx-QH@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Back-patch fix for extraction of fixed prefixes from regular expressions.

Back-patch of commits 628cbb50ba80c83917b07a7609ddec12cda172d0 and
c6aae3042be5249e672b731ebeb21875b5343010.  This has been broken since
7.3, so back-patch to all supported branches.

Branch
------
REL8_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/d2bb45d8e3f974632c1c632d5b339510068f5bae

Modified Files
--------------
src/backend/regex/Makefile       |    2 +-
src/backend/regex/regc_color.c   |   11 ++-
src/backend/regex/regc_nfa.c     |   34 +++---
src/backend/regex/regcomp.c      |    2 +-
src/backend/regex/rege_dfa.c     |   11 +-
src/backend/regex/regprefix.c    |  256 ++++++++++++++++++++++++++++++++++++++
src/backend/utils/adt/regexp.c   |   65 ++++++++++
src/backend/utils/adt/selfuncs.c |  204 ++++++------------------------
src/include/regex/regex.h        |    4 +
src/include/regex/regguts.h      |   30 ++++--
src/include/utils/builtins.h     |    2 +
11 files changed, 421 insertions(+), 200 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Back-patch fix for extraction of fixed prefixes from regular exp
Next
From: Tom Lane
Date:
Subject: pgsql: Back-patch fix for extraction of fixed prefixes from regular exp