File tree 5 files changed +19
-4
lines changed
5 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ DATA_built = $(RELEASE_SQL) \
35
35
pg_sphere--1.3.1--1.4.0.sql \
36
36
pg_sphere--1.4.0--1.4.1.sql \
37
37
pg_sphere--1.4.1--1.4.2.sql \
38
- pg_sphere--1.4.2--1.5.0.sql
38
+ pg_sphere--1.4.2--1.5.0.sql \
39
+ pg_sphere--1.5.0--1.5.1.sql
39
40
40
41
DOCS = README.pg_sphere COPYRIGHT.pg_sphere
41
42
TESTS = version tables points euler circle line ellipse poly path box \
@@ -214,6 +215,9 @@ pg_sphere--1.4.0--1.4.1.sql pg_sphere--1.4.1--1.4.2.sql:
214
215
pg_sphere--1.4.2--1.5.0.sql :
215
216
cat upgrade_scripts/$@ .in $^ > $@
216
217
218
+ pg_sphere--1.5.0--1.5.1.sql :
219
+ cat upgrade_scripts/$@ .in $^ > $@
220
+
217
221
# end of local stuff
218
222
219
223
src/sscan.o : src/sparse.c
Original file line number Diff line number Diff line change 5
5
# ----------------------------------------------------------------------------
6
6
7
7
EXTENSION := pg_sphere
8
- PGSPHERE_VERSION := 1.5.0
8
+ PGSPHERE_VERSION := 1.5.1
Original file line number Diff line number Diff line change 2
2
SELECT pg_sphere_version();
3
3
pg_sphere_version
4
4
-------------------
5
- 1.5.0
5
+ 1.5.1
6
6
(1 row)
7
7
Original file line number Diff line number Diff line change 1
1
# pg_sphere extension
2
2
comment = 'spherical objects with useful functions, operators and index support'
3
- default_version = '1.5.0 '
3
+ default_version = '1.5.1 '
4
4
module_pathname = '$libdir/pg_sphere'
5
5
relocatable = true
Original file line number Diff line number Diff line change
1
+ -- Upgrade: 1.5.0 -> 1.5.1
2
+
3
+ DO $$
4
+ BEGIN
5
+ ALTER OPERATOR FAMILY spoint USING gist ADD
6
+ OPERATOR 17 <-> (spoint, spoint) FOR ORDER BY float_ops;
7
+ EXCEPTION
8
+ WHEN duplicate_object THEN NULL;
9
+ WHEN OTHERS THEN RAISE;
10
+ END;
11
+ $$;
You can’t perform that action at this time.
0 commit comments