mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Extend the infrastructure in btree_gin.c to permit cross-type operators, and add the code to support them for the int2, int4, and int8 opclasses. (To keep this patch digestible, I left the other datatypes for a separate patch.) This improves the usability of btree_gin indexes by allowing them to support the same set of queries that a regular btree index does. Author: Tom Lane <tgl@sss.pgh.pa.us> Reviewed-by: Arseniy Mukhin <arseniy.mukhin.dev@gmail.com> Discussion: https://postgr.es/m/262624.1738460652@sss.pgh.pa.us
28 lines
769 B
Makefile
28 lines
769 B
Makefile
# contrib/btree_gin/Makefile
|
|
|
|
MODULE_big = btree_gin
|
|
OBJS = \
|
|
$(WIN32RES) \
|
|
btree_gin.o
|
|
|
|
EXTENSION = btree_gin
|
|
DATA = btree_gin--1.0.sql btree_gin--1.0--1.1.sql btree_gin--1.1--1.2.sql \
|
|
btree_gin--1.2--1.3.sql btree_gin--1.3--1.4.sql
|
|
PGFILEDESC = "btree_gin - B-tree equivalent GIN operator classes"
|
|
|
|
REGRESS = install_btree_gin int2 int4 int8 float4 float8 money oid \
|
|
timestamp timestamptz time timetz date interval \
|
|
macaddr macaddr8 inet cidr text varchar char bytea bit varbit \
|
|
numeric enum uuid name bool bpchar
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/btree_gin
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|