]> granicus.if.org Git - postgis/commitdiff
Yes another change in SPI_cursor_open
authorSandro Santilli <strk@keybit.net>
Tue, 5 Oct 2004 21:54:48 +0000 (21:54 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 5 Oct 2004 21:54:48 +0000 (21:54 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@936 b70326c6-7e19-0410-871a-916f4a2858ee

lwgeom/lwgeom_estimate.c

index 4f5f32e4d6d7118600294abc2a290e25be3200ff..0db0dc1d58804d457cd0918bd6d3158bf0f1571a 100644 (file)
@@ -10,6 +10,9 @@
  * 
  **********************************************************************
  * $Log$
+ * Revision 1.8  2004/10/05 21:54:48  strk
+ * Yes another change in SPI_cursor_open
+ *
  * Revision 1.7  2004/09/29 10:50:30  strk
  * Big layout change.
  * lwgeom.h is public API
@@ -396,7 +399,7 @@ Datum build_lwhistogram2d(PG_FUNCTION_ARGS)
                PG_RETURN_NULL() ;
        }
 
-#if USE_VERSION > 80
+#if USE_VERSION >= 80
        SPIportal = SPI_cursor_open(NULL, SPIplan, NULL, NULL, 1);
 #else
        SPIportal = SPI_cursor_open(NULL, SPIplan, NULL, NULL);