summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTom Lane2005-11-07 17:36:47 +0000
committerTom Lane2005-11-07 17:36:47 +0000
commit2a8d3d83efeafe7f5d7ba2e56d165f2cc78a7d56 (patch)
treecf3bf0349a55d4daf51d454cc8bcac9ec8c80ec5 /contrib
parent645adf5de8e1f1a829df92a9b80fa0ebbd121942 (diff)
R-tree is dead ... long live GiST.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/cube/cube.c2
-rw-r--r--contrib/intarray/_int.h2
-rw-r--r--contrib/ltree/_ltree_gist.c3
-rw-r--r--contrib/ltree/ltree_gist.c2
-rw-r--r--contrib/pg_trgm/trgm_gist.c7
-rw-r--r--contrib/seg/seg.c4
-rw-r--r--contrib/tsearch2/gistidx.c5
-rw-r--r--contrib/tsearch2/query.c3
-rw-r--r--contrib/tsearch2/rewrite.c1
9 files changed, 11 insertions, 18 deletions
diff --git a/contrib/cube/cube.c b/contrib/cube/cube.c
index fca03f02d70..0bc88ef6f14 100644
--- a/contrib/cube/cube.c
+++ b/contrib/cube/cube.c
@@ -10,7 +10,7 @@
#include <math.h>
#include "access/gist.h"
-#include "access/rtree.h"
+#include "access/skey.h"
#include "lib/stringinfo.h"
#include "utils/builtins.h"
diff --git a/contrib/intarray/_int.h b/contrib/intarray/_int.h
index 2231bdb095b..96f2b116a9f 100644
--- a/contrib/intarray/_int.h
+++ b/contrib/intarray/_int.h
@@ -4,7 +4,7 @@
#include "access/gist.h"
#include "access/itup.h"
-#include "access/rtree.h"
+#include "access/skey.h"
#include "catalog/pg_type.h"
#include "utils/array.h"
#include "utils/builtins.h"
diff --git a/contrib/ltree/_ltree_gist.c b/contrib/ltree/_ltree_gist.c
index f68e9902b52..0344b6dc134 100644
--- a/contrib/ltree/_ltree_gist.c
+++ b/contrib/ltree/_ltree_gist.c
@@ -5,8 +5,7 @@
#include "ltree.h"
#include "access/gist.h"
-#include "access/rtree.h"
-#include "access/nbtree.h"
+#include "access/skey.h"
#include "utils/array.h"
#include "crc32.h"
diff --git a/contrib/ltree/ltree_gist.c b/contrib/ltree/ltree_gist.c
index 7e7ede02853..2be6449329c 100644
--- a/contrib/ltree/ltree_gist.c
+++ b/contrib/ltree/ltree_gist.c
@@ -5,8 +5,8 @@
#include "ltree.h"
#include "access/gist.h"
-#include "access/rtree.h"
#include "access/nbtree.h"
+#include "access/skey.h"
#include "utils/array.h"
#include "crc32.h"
diff --git a/contrib/pg_trgm/trgm_gist.c b/contrib/pg_trgm/trgm_gist.c
index 33ed6d5e1f0..9f1c20cf047 100644
--- a/contrib/pg_trgm/trgm_gist.c
+++ b/contrib/pg_trgm/trgm_gist.c
@@ -2,13 +2,10 @@
#include "access/gist.h"
#include "access/itup.h"
-#include "access/rtree.h"
-#include "utils/elog.h"
-#include "utils/palloc.h"
+#include "access/tuptoaster.h"
+#include "storage/bufpage.h"
#include "utils/array.h"
#include "utils/builtins.h"
-#include "storage/bufpage.h"
-#include "access/tuptoaster.h"
PG_FUNCTION_INFO_V1(gtrgm_in);
Datum gtrgm_in(PG_FUNCTION_ARGS);
diff --git a/contrib/seg/seg.c b/contrib/seg/seg.c
index 52f65b062c8..0a694a52ddf 100644
--- a/contrib/seg/seg.c
+++ b/contrib/seg/seg.c
@@ -9,7 +9,7 @@
#include <float.h>
#include "access/gist.h"
-#include "access/rtree.h"
+#include "access/skey.h"
#include "utils/builtins.h"
#include "segdata.h"
@@ -53,7 +53,7 @@ bool *gseg_same(SEG * b1, SEG * b2, bool *result);
/*
-** R-tree suport functions
+** R-tree support functions
*/
bool seg_same(SEG * a, SEG * b);
bool seg_contains_int(SEG * a, int *b);
diff --git a/contrib/tsearch2/gistidx.c b/contrib/tsearch2/gistidx.c
index c0d15de6913..a01d06d65e7 100644
--- a/contrib/tsearch2/gistidx.c
+++ b/contrib/tsearch2/gistidx.c
@@ -4,11 +4,10 @@
#include "access/gist.h"
#include "access/itup.h"
-#include "access/rtree.h"
+#include "access/tuptoaster.h"
+#include "storage/bufpage.h"
#include "utils/array.h"
#include "utils/builtins.h"
-#include "storage/bufpage.h"
-#include "access/tuptoaster.h"
#include "tsvector.h"
#include "query.h"
diff --git a/contrib/tsearch2/query.c b/contrib/tsearch2/query.c
index 013f0031965..a260d459355 100644
--- a/contrib/tsearch2/query.c
+++ b/contrib/tsearch2/query.c
@@ -15,10 +15,9 @@
#include "access/gist.h"
#include "access/itup.h"
-#include "access/rtree.h"
+#include "storage/bufpage.h"
#include "utils/array.h"
#include "utils/builtins.h"
-#include "storage/bufpage.h"
#include "ts_cfg.h"
#include "tsvector.h"
diff --git a/contrib/tsearch2/rewrite.c b/contrib/tsearch2/rewrite.c
index e7b5045c9e9..2e9b39f18db 100644
--- a/contrib/tsearch2/rewrite.c
+++ b/contrib/tsearch2/rewrite.c
@@ -9,7 +9,6 @@
#include "access/gist.h"
#include "access/itup.h"
-#include "access/rtree.h"
#include "storage/bufpage.h"
#include "utils/array.h"
#include "utils/builtins.h"