File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -6,20 +6,22 @@ useful functions and operators.
6
6
NOTICE:
7
7
This version will works only with postgresql version 8.0 and above.
8
8
9
- INSTALLATION:
9
+ INSTALLATION AS EXTENSION (RECOMMENDED) :
10
10
11
+ -- build and install
12
+ gmake USE_PGXS=1 PG_CONFIG=/usr/bin/pg_config
13
+ gmake USE_PGXS=1 PG_CONFIG=/usr/bin/pg_config install
14
+ -- load extension
15
+ psql <database> -c "CREATE EXTENSION pg_sphere;"
16
+
17
+ INSTALLATION AS MODULE (DEPRECATED):
18
+
19
+ -- build and install
11
20
gmake
12
21
gmake install
13
22
-- load functions
14
23
psql <database> < pg_sphere.sql
15
24
16
- USING PG_CONFIG:
17
-
18
- gmake USE_PGXS=1 PG_CONFIG=/usr/bin/pg_config
19
- gmake USE_PGXS=1 PG_CONFIG=/usr/bin/pg_config install
20
- -- load extension:
21
- CREATE EXTENSION pg_sphere;
22
-
23
25
REGRESSION TEST:
24
26
25
27
gmake installcheck
You can’t perform that action at this time.
0 commit comments