mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-01 02:07:21 +02:00
Add WITHOUT OVERLAPS clause to PRIMARY KEY and UNIQUE constraints. These are backed by GiST indexes instead of B-tree indexes, since they are essentially exclusion constraints with = for the scalar parts of the key and && for the temporal part. Author: Paul A. Jungwirth <pj@illuminatedcomputing.com> Reviewed-by: Peter Eisentraut <peter@eisentraut.org> Reviewed-by: jian he <jian.universality@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/CA+renyUApHgSZF9-nd-a0+OPGharLQLO=mDHcY4_qQ0+noCUVg@mail.gmail.com
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
# contrib/btree_gist/Makefile
|
|
|
|
MODULE_big = btree_gist
|
|
|
|
OBJS = \
|
|
$(WIN32RES) \
|
|
btree_bit.o \
|
|
btree_bool.o \
|
|
btree_bytea.o \
|
|
btree_cash.o \
|
|
btree_date.o \
|
|
btree_enum.o \
|
|
btree_float4.o \
|
|
btree_float8.o \
|
|
btree_gist.o \
|
|
btree_inet.o \
|
|
btree_int2.o \
|
|
btree_int4.o \
|
|
btree_int8.o \
|
|
btree_interval.o \
|
|
btree_macaddr.o \
|
|
btree_macaddr8.o \
|
|
btree_numeric.o \
|
|
btree_oid.o \
|
|
btree_text.o \
|
|
btree_time.o \
|
|
btree_ts.o \
|
|
btree_utils_num.o \
|
|
btree_utils_var.o \
|
|
btree_uuid.o
|
|
|
|
EXTENSION = btree_gist
|
|
DATA = btree_gist--1.0--1.1.sql \
|
|
btree_gist--1.1--1.2.sql btree_gist--1.2.sql btree_gist--1.2--1.3.sql \
|
|
btree_gist--1.3--1.4.sql btree_gist--1.4--1.5.sql \
|
|
btree_gist--1.5--1.6.sql btree_gist--1.6--1.7.sql \
|
|
btree_gist--1.7--1.8.sql
|
|
PGFILEDESC = "btree_gist - B-tree equivalent GiST operator classes"
|
|
|
|
REGRESS = init int2 int4 int8 float4 float8 cash oid timestamp timestamptz \
|
|
time timetz date interval macaddr macaddr8 inet cidr text varchar char \
|
|
bytea bit varbit numeric uuid not_equal enum bool partitions \
|
|
stratnum without_overlaps
|
|
|
|
SHLIB_LINK += $(filter -lm, $(LIBS))
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/btree_gist
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|