Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita61e15a

Browse files
committed
geo_distance function needs to be marked strict.
From Mark Stosberg.
1 parent31874ad commita61e15a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎contrib/earthdistance/earthdistance.sql.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
DROP FUNCTION geo_distance (point, point);
55
CREATE FUNCTION geo_distance (point, point) RETURNS float8
6-
AS 'MODULE_PATHNAME' LANGUAGE 'c';
6+
AS 'MODULE_PATHNAME' LANGUAGE 'c'
7+
WITH (isstrict);
78

89
SELECT geo_distance ('(1,2)'::point, '(3,4)'::point);
910

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp