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 ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/a9287de1760450e7fe3b4309ee1ba7ea2af39217 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 | 259 ++++++++++++++++++++++++++++++++++++++ src/backend/utils/adt/regexp.c | 65 ++++++++++ src/backend/utils/adt/selfuncs.c | 209 ++++++------------------------- src/include/regex/regex.h | 4 + src/include/regex/regguts.h | 30 ++++-- src/include/utils/builtins.h | 2 + 11 files changed, 424 insertions(+), 205 deletions(-)
pgsql-committers by date:
Соглашаюсь с условиями обработки персональных данных