From bc01c844b61174fe8ef5a0b595e1feaf7b7e706a Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Wed, 11 Nov 2009 00:00:48 +0000 Subject: [PATCH] Remove GisT headers from file and set keywords. git-svn-id: http://svn.osgeo.org/postgis/trunk@4784 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/geography_btree.c | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/postgis/geography_btree.c b/postgis/geography_btree.c index d3e2eda2d..a6d24fae4 100644 --- a/postgis/geography_btree.c +++ b/postgis/geography_btree.c @@ -1,5 +1,5 @@ /********************************************************************** - * $Id: geography_gist.c 4778 2009-11-10 19:30:43Z pramsey $ + * $Id$ * * PostGIS - Spatial Types for PostgreSQL * Copyright 2009 Paul Ramsey @@ -9,23 +9,7 @@ * **********************************************************************/ -/* -** R-Tree Bibliography -** -** [1] A. Guttman. R-tree: a dynamic index structure for spatial searching. -** Proceedings of the ACM SIGMOD Conference, pp 47-57, June 1984. -** [2] C.-H. Ang and T. C. Tan. New linear node splitting algorithm for -** R-Trees. Advances in Spatial Databases - 5th International Symposium, -** 1997 -** [3] N. Beckmann, H.-P. Kriegel, R. Schneider, B. Seeger. The R*tree: an -** efficient and robust access method for points and rectangles. -** Proceedings of the ACM SIGMOD Conference. June 1990. -*/ - #include "postgres.h" -#include "access/gist.h" /* For GiST */ -#include "access/itup.h" -#include "access/skey.h" #include "access/hash.h" #include "../postgis_config.h" @@ -47,7 +31,7 @@ Datum geography_cmp(PG_FUNCTION_ARGS); */ static uint32 geography_hash(GSERIALIZED *g) { - return DatumGetUInt32(hash_any(g, VARSIZE(g))); + return DatumGetUInt32(hash_any((void*)g, VARSIZE(g))); } /* -- 2.50.1