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_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/b9edaa784e407d1b6e890b776c607a26f3aa7e49 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:
Соглашаюсь с условиями обработки персональных данных