forked from akorotkov/pgsphere
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.pg_sphere
More file actions
31 lines (19 loc) · 803 Bytes
/
README.pg_sphere
File metadata and controls
31 lines (19 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
This is an R-Tree implementation using GiST for spherical objects
like spherical points and spherical circles with
useful functions and operators.
NOTICE:
This version will work only with postgresql version 9.1 and above.
INSTALLATION:
-- build and install
gmake USE_PGXS=1 PG_CONFIG=/usr/bin/pg_config
gmake USE_PGXS=1 PG_CONFIG=/usr/bin/pg_config install
-- load extension
psql -c "CREATE EXTENSION pg_sphere;" <database>
REGRESSION TEST (as the same user as the currently running postgresql server):
make USE_PGXS=1 installcheck
LONG REGRESSION TEST:
make USE_PGXS=1 crushtest
The 'make' program must be compatible with GNU make.
For more information, have a look at http://pgsphere.projects.postgresql.org
and https://github.com/akorotkov/pgsphere
Have a lot of fun!