File tree Expand file tree Collapse file tree 5 files changed +19
-4
lines changed Expand file tree Collapse file tree 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) \
3535 pg_sphere--1.3.1--1.4.0.sql \
3636 pg_sphere--1.4.0--1.4.1.sql \
3737 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
3940
4041DOCS = README.pg_sphere COPYRIGHT.pg_sphere
4142TESTS = 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:
214215pg_sphere--1.4.2--1.5.0.sql :
215216 cat upgrade_scripts/$@ .in $^ > $@
216217
218+ pg_sphere--1.5.0--1.5.1.sql :
219+ cat upgrade_scripts/$@ .in $^ > $@
220+
217221# end of local stuff
218222
219223src/sscan.o : src/sparse.c
Original file line number Diff line number Diff line change 55# ----------------------------------------------------------------------------
66
77EXTENSION := pg_sphere
8- PGSPHERE_VERSION := 1.5.0
8+ PGSPHERE_VERSION := 1.5.1
Original file line number Diff line number Diff line change 22SELECT pg_sphere_version();
33 pg_sphere_version
44-------------------
5- 1.5.0
5+ 1.5.1
66(1 row)
77
Original file line number Diff line number Diff line change 11# pg_sphere extension
22comment = 'spherical objects with useful functions, operators and index support'
3- default_version = '1.5.0 '
3+ default_version = '1.5.1 '
44module_pathname = '$libdir/pg_sphere'
55relocatable = 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