mirror of
https://github.com/postgres/postgres.git
synced 2026-06-05 15:22:16 -04:00
918eee0c49
This enables selectivity estimation of the <<, >>, &<, &> and && operators, as well as the normal inequality operators: <, <=, >=, >. "range @> element" is also supported, but the range-variant @> and <@ operators are not, because they cannot be sensibly estimated with lower and upper bound histograms alone. We would need to make some assumption about the lengths of the ranges for that. Alexander's patch included a separate histogram of lengths for that, but I left that out of the patch for simplicity. Hopefully that will be added as a followup patch. The fraction of empty ranges is also calculated and used in estimation. Alexander Korotkov, heavily modified by me.
39 lines
1.3 KiB
Makefile
39 lines
1.3 KiB
Makefile
#
|
|
# Makefile for utils/adt
|
|
#
|
|
# src/backend/utils/adt/Makefile
|
|
#
|
|
|
|
subdir = src/backend/utils/adt
|
|
top_builddir = ../../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
# seems to be required for some date/time stuff 1999/07/22 bjm
|
|
ifeq "$(findstring alpha,$(host_cpu))" "alpha"
|
|
ifeq "$(GCC)" "yes"
|
|
override CFLAGS+= -mieee
|
|
endif
|
|
endif
|
|
|
|
OBJS = acl.o arrayfuncs.o array_selfuncs.o array_typanalyze.o \
|
|
array_userfuncs.o arrayutils.o bool.o \
|
|
cash.o char.o date.o datetime.o datum.o domains.o \
|
|
enum.o float.o format_type.o \
|
|
geo_ops.o geo_selfuncs.o int.o int8.o json.o like.o lockfuncs.o \
|
|
misc.o nabstime.o name.o numeric.o numutils.o \
|
|
oid.o oracle_compat.o pseudotypes.o rangetypes.o rangetypes_gist.o \
|
|
rowtypes.o regexp.o regproc.o ruleutils.o selfuncs.o \
|
|
tid.o timestamp.o varbit.o varchar.o varlena.o version.o xid.o \
|
|
network.o mac.o inet_cidr_ntop.o inet_net_pton.o \
|
|
ri_triggers.o pg_lzcompress.o pg_locale.o formatting.o \
|
|
ascii.o quote.o pgstatfuncs.o encode.o dbsize.o genfile.o trigfuncs.o \
|
|
tsginidx.o tsgistidx.o tsquery.o tsquery_cleanup.o tsquery_gist.o \
|
|
tsquery_op.o tsquery_rewrite.o tsquery_util.o tsrank.o \
|
|
tsvector.o tsvector_op.o tsvector_parser.o \
|
|
txid.o uuid.o windowfuncs.o xml.o rangetypes_spgist.o \
|
|
rangetypes_typanalyze.o rangetypes_selfuncs.o
|
|
|
|
like.o: like.c like_match.c
|
|
|
|
include $(top_srcdir)/src/backend/common.mk
|