We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentf2b6879 commitf20a664Copy full SHA for f20a664
Makefile
@@ -34,7 +34,8 @@ DATA_built = $(RELEASE_SQL) \
34
pg_sphere--1.3.0--1.3.1.sql\
35
pg_sphere--1.3.1--1.4.0.sql\
36
pg_sphere--1.4.0--1.4.1.sql\
37
- pg_sphere--1.4.1--1.4.2.sql
+ pg_sphere--1.4.1--1.4.2.sql\
38
+ pg_sphere--1.4.2--1.5.0.sql
39
40
DOCS = README.pg_sphere COPYRIGHT.pg_sphere
41
TESTS = version tables points euler circle line ellipse poly path box\
@@ -209,6 +210,9 @@ pg_sphere--1.3.1--1.4.0.sql: pgs_circle_sel.sql.in pgs_hash.sql.in
209
210
pg_sphere--1.4.0--1.4.1.sqlpg_sphere--1.4.1--1.4.2.sql:
211
@echo"-- Nothing to upgrade in the schema">$@
212
213
+pg_sphere--1.4.2--1.5.0.sql:
214
+cat upgrade_scripts/$@.in$^>$@
215
+
216
# end of local stuff
217
218
src/sscan.o : src/sparse.c
Makefile.common.mk
@@ -5,4 +5,4 @@
5
#----------------------------------------------------------------------------
6
7
EXTENSION := pg_sphere
8
-PGSPHERE_VERSION := 1.4.2
+PGSPHERE_VERSION := 1.5.0
doc/indices.sgm
@@ -69,9 +69,9 @@
69
</listitem>
70
</itemizedlist>
71
<para>
72
- GiST index can beusedalso forfast finding points closest to the given one
73
- when ordering by an expression with the <literal><-></literal> operator
74
-is used,as shown in an example below.
+AGiST index can be alsousedforquickly findingthepoints closest to the given one
+ when ordering by an expression with the <literal><-></literal> operator,
+ as shown in an example below.
75
</para>
76
77
BRIN indexing supports just spherical points (<type>spoint</type>)
@@ -88,7 +88,7 @@
88
<![CDATA[VACUUM ANALYZE test;]]>
89
</programlisting>
90
91
- To find points closest to a given spherical position, use the <literal><-></literal> operator:
+ To findthepoints closest to a given spherical position, use the <literal><-></literal> operator:
92
93
<programlisting>
94
<![CDATA[SELECT * FROM test ORDER BY pos <-> spoint (0.2, 0.3) LIMIT 10 ]]>
@@ -112,6 +112,7 @@
112
<![CDATA[CREATE INDEX test_pos_idx USING BRIN ON test (pos) WITH (pages_per_range = 16);]]>
113
114
</example>
115
116
</sect1>
117
118
<sect1 id="ind.smoc">
expected/version.out
@@ -2,6 +2,6 @@
2
SELECT pg_sphere_version();
3
pg_sphere_version
4
-------------------
- 1.4.2
+ 1.5.0
(1 row)
pg_sphere.control
@@ -1,5 +1,5 @@
1
# pg_sphere extension
comment = 'spherical objects with useful functions, operators and index support'
-default_version = '1.4.2'
+default_version = '1.5.0'
module_pathname = '$libdir/pg_sphere'
relocatable = true
pgs_gist.sql.in
@@ -117,7 +117,7 @@ CREATE OPERATOR CLASS spoint
OPERATOR 14 @ (spoint, spoly),
OPERATOR 15 @ (spoint, sellipse),
119
OPERATOR 16 @ (spoint, sbox),
120
- OPERATOR 17<-> (spoint, spoint) FOR ORDER BY float_ops,
+ OPERATOR 17<-> (spoint, spoint) FOR ORDER BY float_ops,
121
OPERATOR 37 <@ (spoint, scircle),
122
OPERATOR 38 <@ (spoint, sline),
123
OPERATOR 39 <@ (spoint, spath),