Use the right function!
authorPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 29 May 2015 23:08:16 +0000 (23:08 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 29 May 2015 23:08:16 +0000 (23:08 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13587 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/geography_measurement.c

index 803b437061ba87880a6dd193593e175c2b6bfcde..05776c7202d38365e77a5ef6bb23bdab58d93707 100644 (file)
@@ -55,7 +55,7 @@ Datum geography_segmentize(PG_FUNCTION_ARGS);
 PG_FUNCTION_INFO_V1(geography_distance_knn);
 Datum geography_distance_knn(PG_FUNCTION_ARGS)
 {
-       return DirectFunctionCall3(geography_distance_uncached, 
+       return DirectFunctionCall4(geography_distance_uncached, 
                PG_GETARG_DATUM(0), 
                PG_GETARG_DATUM(1), 
                (Datum)0,