projects
/
postgresql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31874ad
)
geo_distance function needs to be marked strict.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 16 Aug 2001 22:24:43 +0000
(22:24 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 16 Aug 2001 22:24:43 +0000
(22:24 +0000)
From Mark Stosberg.
contrib/earthdistance/earthdistance.sql.in
patch
|
blob
|
history
diff --git
a/contrib/earthdistance/earthdistance.sql.in
b/contrib/earthdistance/earthdistance.sql.in
index fdb4552f8aab630797628ebd6734bf137b151d8b..087484da5158dae95dcdd87a9e530f92f98fbae6 100644
(file)
--- a/
contrib/earthdistance/earthdistance.sql.in
+++ b/
contrib/earthdistance/earthdistance.sql.in
@@
-3,7
+3,8
@@
DROP FUNCTION geo_distance (point, point);
CREATE FUNCTION geo_distance (point, point) RETURNS float8
- AS 'MODULE_PATHNAME' LANGUAGE 'c';
+ AS 'MODULE_PATHNAME' LANGUAGE 'c'
+ WITH (isstrict);
SELECT geo_distance ('(1,2)'::point, '(3,4)'::point);