forked from postgres/postgres
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update earthdistance extension for parallel query.
All functions provided by this extension are PARALLEL SAFE. Andreas Karlsson
- Loading branch information
1 parent
a89b4b1
commit 50e5226
Showing
4 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* contrib/earthdistance/earthdistance--1.0--1.1.sql */ | ||
|
||
-- complain if script is sourced in psql, rather than via ALTER EXTENSION | ||
\echo Use "ALTER EXTENSION earthdistance UPDATE TO '1.1'" to load this file. \quit | ||
|
||
ALTER FUNCTION earth() PARALLEL SAFE; | ||
ALTER FUNCTION sec_to_gc(float8) PARALLEL SAFE; | ||
ALTER FUNCTION gc_to_sec(float8) PARALLEL SAFE; | ||
ALTER FUNCTION ll_to_earth(float8, float8) PARALLEL SAFE; | ||
ALTER FUNCTION latitude(earth) PARALLEL SAFE; | ||
ALTER FUNCTION longitude(earth) PARALLEL SAFE; | ||
ALTER FUNCTION earth_distance(earth, earth) PARALLEL SAFE; | ||
ALTER FUNCTION earth_box(earth, float8) PARALLEL SAFE; | ||
ALTER FUNCTION geo_distance(point, point) PARALLEL SAFE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# earthdistance extension | ||
comment = 'calculate great-circle distances on the surface of the Earth' | ||
default_version = '1.0' | ||
default_version = '1.1' | ||
module_pathname = '$libdir/earthdistance' | ||
relocatable = true | ||
requires = 'cube' |