mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-25 00:03:23 -04:00 
			
		
		
		
	Adds bool opclass to btree_gist extension, to allow creating GiST indexes on bool columns. GiST indexes on a single bool column don't seem particularly useful, but this allows defining exclusion constraings involving a bool column, for example. Author: Emre Hasegeli Reviewed-by: Andrey Borodin Discussion: https://postgr.es/m/CAE2gYzyDKJBZngssR84VGZEN=Ux=V9FV23QfPgo+7-yYnKKg4g@mail.gmail.com
		
			
				
	
	
		
			55 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.3 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
 | |
| 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
 | |
| 
 | |
| 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
 |