diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-04-10 18:02:17 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-04-10 18:03:09 -0400 |
commit | 1e16a8107db9a50435b39e09c6f9c52c45e63e1a (patch) | |
tree | bf2231fc078b46004c7814ba871e3c38c1d8d52d /src/backend/regex/Makefile | |
parent | 210f95f1cd59c6fdfe0f84b922c19d8498ac377d (diff) |
Teach regular expression operators to honor collations.
This involves getting the character classification and case-folding
functions in the regex library to use the collations infrastructure.
Most of this work had been done already in connection with the upper/lower
and LIKE logic, so it was a simple matter of transposition.
While at it, split out these functions into a separate source file
regc_pg_locale.c, so that they can be correctly labeled with the Postgres
project's license rather than the Scriptics license. These functions are
100% Postgres-written code whereas what remains in regc_locale.c is still
mostly not ours, so lumping them both under the same copyright notice was
getting more and more misleading.
Diffstat (limited to 'src/backend/regex/Makefile')
-rw-r--r-- | src/backend/regex/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/regex/Makefile b/src/backend/regex/Makefile index b4146449dec..21e7fa5329b 100644 --- a/src/backend/regex/Makefile +++ b/src/backend/regex/Makefile @@ -17,6 +17,7 @@ OBJS = regcomp.o regerror.o regexec.o regfree.o include $(top_srcdir)/src/backend/common.mk # mark inclusion dependencies between .c files explicitly -regcomp.o: regcomp.c regc_lex.c regc_color.c regc_nfa.c regc_cvec.c regc_locale.c +regcomp.o: regcomp.c regc_lex.c regc_color.c regc_nfa.c regc_cvec.c \ + regc_locale.c regc_pg_locale.c regexec.o: regexec.c rege_dfa.c |