mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
This enables sortsupport in the btree_gist extension for faster builds of gist indexes. Sorted gist index build strategy is the new default now. Regression tests are unchanged (except for one small change in the 'enum' test to add coverage for enum values added later) and are using the sorted build strategy instead. One version of this was committed a long time ago already, in commit 9f984ba6d2, but it was quickly reverted because of buildfarm failures. The failures were presumably caused by some small bugs, but we never got around to debug and commit it again. This patch was written from scratch, implementing the same idea, with some fragments and ideas from the original patch. Author: Bernd Helmle <mailings@oopsware.de> Author: Andrey Borodin <x4mmm@yandex-team.ru> Discussion: https://www.postgresql.org/message-id/64d324ce2a6d535d3f0f3baeeea7b25beff82ce4.camel@oopsware.de
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 btree_gist--1.8--1.9.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
|