1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

please apply attached patch to current CVS.

btree_gist now supports int2 !
Thanks Janko Richter for contribution.
This commit is contained in:
Bruce Momjian
2003-03-20 18:59:18 +00:00
parent 3be6367b9f
commit e0d043b94d
4 changed files with 91 additions and 9 deletions

View File

@ -4,15 +4,18 @@ top_builddir = ../..
include $(top_builddir)/src/Makefile.global
MODULE_big = btree_gist
OBJS= btree_common.o btree_int4.o btree_int8.o btree_float4.o btree_float8.o btree_ts.o
OBJS= btree_common.o btree_int2.o btree_int4.o btree_int8.o btree_float4.o btree_float8.o btree_ts.o
DATA_built = btree_gist.sql
DOCS = README.btree_gist
REGRESS = btree_gist
EXTRA_CLEAN = btree_int4.c btree_int8.c btree_float4.c btree_float8.c
EXTRA_CLEAN = btree_int2.c btree_int4.c btree_int8.c btree_float4.c btree_float8.c
include $(top_srcdir)/contrib/contrib-global.mk
btree_int2.c: btree_num.c.in
sed 's,__DEFINE_BTREE_TYPE_HERE__,BTREE_GIST_INT2,g;s,__BTREE_GIST_TYPE__,int16,g;s,__BTREE_GIST_TYPE2__,int2,g' < $< > $@
btree_int4.c: btree_num.c.in
sed 's,__DEFINE_BTREE_TYPE_HERE__,BTREE_GIST_INT4,g;s,__BTREE_GIST_TYPE__,int32,g;s,__BTREE_GIST_TYPE2__,int4,g' < $< > $@