mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-30 16:07:20 +02:00
Since commitefc77cf5f
, an indexed query using <@ has required a full-index scan, so that it actually performs worse than a plain seqscan would do. As I noted at the time, we'd be better off to not treat <@ as being indexable by such indexes at all; and that's what this patch does. It would have been difficult to remove these opclass members without dropping the whole opclass before commit9f9682783
fixed GiST opclass member dependency rules, but now it's quite simple, so let's do it. I left the existing support code in place for the time being, with comments noting it's now unreachable. At some point, perhaps we should remove that code in favor of throwing an error telling people to upgrade the extension version. Discussion: https://postgr.es/m/2176979.1596389859@sss.pgh.pa.us Discussion: https://postgr.es/m/458.1565114141@sss.pgh.pa.us
32 lines
653 B
Makefile
32 lines
653 B
Makefile
# contrib/intarray/Makefile
|
|
|
|
MODULE_big = _int
|
|
OBJS = \
|
|
$(WIN32RES) \
|
|
_int_bool.o \
|
|
_int_gin.o \
|
|
_int_gist.o \
|
|
_int_op.o \
|
|
_int_selfuncs.o \
|
|
_int_tool.o \
|
|
_intbig_gist.o
|
|
|
|
EXTENSION = intarray
|
|
DATA = intarray--1.3--1.4.sql intarray--1.2--1.3.sql \
|
|
intarray--1.2.sql intarray--1.1--1.2.sql \
|
|
intarray--1.0--1.1.sql
|
|
PGFILEDESC = "intarray - functions and operators for arrays of integers"
|
|
|
|
REGRESS = _int
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/intarray
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|