summaryrefslogtreecommitdiff
path: root/src/include/catalog/pg_amop.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-07-01 19:19:05 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-07-01 19:19:05 +0000
commite7e1694295e3d867f07afedf6505d0e0436cb67e (patch)
treebdda7cd092d1c73d0d53820c2a93dd8c2faa4210 /src/include/catalog/pg_amop.h
parent875efad48170fa9c6ffde98cf8a235470726c692 (diff)
downloadpostgresql-e7e1694295e3d867f07afedf6505d0e0436cb67e.tar.gz
Migrate rtree_gist functionality into the core system, and add some
basic regression tests for GiST to the standard regression tests. I took the opportunity to add an rtree-equivalent gist opclass for circles; the contrib version only covered boxes and polygons, but indexing circles is very handy for distance searches.
Diffstat (limited to 'src/include/catalog/pg_amop.h')
-rw-r--r--src/include/catalog/pg_amop.h53
1 files changed, 52 insertions, 1 deletions
diff --git a/src/include/catalog/pg_amop.h b/src/include/catalog/pg_amop.h
index e318898f4f..35589750d1 100644
--- a/src/include/catalog/pg_amop.h
+++ b/src/include/catalog/pg_amop.h
@@ -23,7 +23,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/catalog/pg_amop.h,v 1.64 2005/06/24 20:53:31 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/catalog/pg_amop.h,v 1.65 2005/07/01 19:19:03 tgl Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
@@ -619,4 +619,55 @@ DATA(insert ( 2232 0 1 f 2334 ));
/* aclitem_ops */
DATA(insert ( 2235 0 1 f 974 ));
+/*
+ * gist box_ops
+ */
+
+DATA(insert ( 2593 0 1 f 493 ));
+DATA(insert ( 2593 0 2 f 494 ));
+DATA(insert ( 2593 0 3 f 500 ));
+DATA(insert ( 2593 0 4 f 495 ));
+DATA(insert ( 2593 0 5 f 496 ));
+DATA(insert ( 2593 0 6 f 499 ));
+DATA(insert ( 2593 0 7 f 498 ));
+DATA(insert ( 2593 0 8 f 497 ));
+DATA(insert ( 2593 0 9 f 2571 ));
+DATA(insert ( 2593 0 10 f 2570 ));
+DATA(insert ( 2593 0 11 f 2573 ));
+DATA(insert ( 2593 0 12 f 2572 ));
+
+/*
+ * gist poly_ops (supports polygons)
+ */
+
+DATA(insert ( 2594 0 1 t 485 ));
+DATA(insert ( 2594 0 2 t 486 ));
+DATA(insert ( 2594 0 3 t 492 ));
+DATA(insert ( 2594 0 4 t 487 ));
+DATA(insert ( 2594 0 5 t 488 ));
+DATA(insert ( 2594 0 6 t 491 ));
+DATA(insert ( 2594 0 7 t 490 ));
+DATA(insert ( 2594 0 8 t 489 ));
+DATA(insert ( 2594 0 9 t 2575 ));
+DATA(insert ( 2594 0 10 t 2574 ));
+DATA(insert ( 2594 0 11 t 2577 ));
+DATA(insert ( 2594 0 12 t 2576 ));
+
+/*
+ * gist circle_ops
+ */
+
+DATA(insert ( 2595 0 1 t 1506 ));
+DATA(insert ( 2595 0 2 t 1507 ));
+DATA(insert ( 2595 0 3 t 1513 ));
+DATA(insert ( 2595 0 4 t 1508 ));
+DATA(insert ( 2595 0 5 t 1509 ));
+DATA(insert ( 2595 0 6 t 1512 ));
+DATA(insert ( 2595 0 7 t 1511 ));
+DATA(insert ( 2595 0 8 t 1510 ));
+DATA(insert ( 2595 0 9 t 2589 ));
+DATA(insert ( 2595 0 10 t 1515 ));
+DATA(insert ( 2595 0 11 t 1514 ));
+DATA(insert ( 2595 0 12 t 2590 ));
+
#endif /* PG_AMOP_H */