mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-31 10:57:21 +02:00
This works by extracting trigrams from the given regular expression, in generally the same spirit as the previously-existing support for LIKE searches, though of course the details are far more complicated. Currently, only GIN indexes are supported. We might be able to make it work with GiST indexes later. The implementation includes adding API functions to backend/regex/ to provide a view of the search NFA created from a regular expression. These functions are meant to be generic enough to be supportable in a standalone version of the regex library, should that ever happen. Alexander Korotkov, reviewed by Heikki Linnakangas and Tom Lane
24 lines
665 B
Makefile
24 lines
665 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile--
|
|
# Makefile for backend/regex
|
|
#
|
|
# IDENTIFICATION
|
|
# src/backend/regex/Makefile
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
subdir = src/backend/regex
|
|
top_builddir = ../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
OBJS = regcomp.o regerror.o regexec.o regfree.o regprefix.o regexport.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 regc_pg_locale.c
|
|
|
|
regexec.o: regexec.c rege_dfa.c
|