Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf20a664

Browse files
committed
Fix code formatting, bump release version up to 1.5.0
Raise the version up to 1.5.0, add upgrade scriptFix issues found after the review
1 parentf2b6879 commitf20a664

File tree

8 files changed

+222
-101
lines changed

8 files changed

+222
-101
lines changed

‎Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ DATA_built = $(RELEASE_SQL) \
3434
pg_sphere--1.3.0--1.3.1.sql\
3535
pg_sphere--1.3.1--1.4.0.sql\
3636
pg_sphere--1.4.0--1.4.1.sql\
37-
pg_sphere--1.4.1--1.4.2.sql
37+
pg_sphere--1.4.1--1.4.2.sql\
38+
pg_sphere--1.4.2--1.5.0.sql
3839

3940
DOCS = README.pg_sphere COPYRIGHT.pg_sphere
4041
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
209210
pg_sphere--1.4.0--1.4.1.sqlpg_sphere--1.4.1--1.4.2.sql:
210211
@echo"-- Nothing to upgrade in the schema">$@
211212

213+
pg_sphere--1.4.2--1.5.0.sql:
214+
cat upgrade_scripts/$@.in$^>$@
215+
212216
# end of local stuff
213217

214218
src/sscan.o : src/sparse.c

‎Makefile.common.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
#----------------------------------------------------------------------------
66

77
EXTENSION := pg_sphere
8-
PGSPHERE_VERSION := 1.4.2
8+
PGSPHERE_VERSION := 1.5.0

‎doc/indices.sgm

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@
6969
</listitem>
7070
</itemizedlist>
7171
<para>
72-
GiST index can beusedalso forfast finding points closest to the given one
73-
when ordering by an expression with the <literal>&lt;-&gt;</literal> operator
74-
is used,as shown in an example below.
72+
AGiST index can be alsousedforquickly findingthepoints closest to the given one
73+
when ordering by an expression with the <literal>&lt;-&gt;</literal> operator,
74+
as shown in an example below.
7575
</para>
7676
<para>
7777
BRIN indexing supports just spherical points (<type>spoint</type>)
@@ -88,7 +88,7 @@
8888
<![CDATA[VACUUM ANALYZE test;]]>
8989
</programlisting>
9090
<para>
91-
To find points closest to a given spherical position, use the <literal>&lt;-&gt;</literal> operator:
91+
To findthepoints closest to a given spherical position, use the <literal>&lt;-&gt;</literal> operator:
9292
</para>
9393
<programlisting>
9494
<![CDATA[SELECT * FROM test ORDER BY pos <-> spoint (0.2, 0.3) LIMIT 10 ]]>
@@ -112,6 +112,7 @@
112112
<![CDATA[CREATE INDEX test_pos_idx USING BRIN ON test (pos) WITH (pages_per_range = 16);]]>
113113
</programlisting>
114114
</example>
115+
115116
</sect1>
116117

117118
<sect1 id="ind.smoc">

‎expected/version.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
SELECT pg_sphere_version();
33
pg_sphere_version
44
-------------------
5-
1.4.2
5+
1.5.0
66
(1 row)
77

‎pg_sphere.control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# pg_sphere extension
22
comment = 'spherical objects with useful functions, operators and index support'
3-
default_version = '1.4.2'
3+
default_version = '1.5.0'
44
module_pathname = '$libdir/pg_sphere'
55
relocatable = true

‎pgs_gist.sql.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ CREATE OPERATOR CLASS spoint
117117
OPERATOR 14 @ (spoint, spoly),
118118
OPERATOR 15 @ (spoint, sellipse),
119119
OPERATOR 16 @ (spoint, sbox),
120-
OPERATOR 17<-> (spoint, spoint) FOR ORDER BY float_ops,
120+
OPERATOR 17<-> (spoint, spoint) FOR ORDER BY float_ops,
121121
OPERATOR 37 <@ (spoint, scircle),
122122
OPERATOR 38 <@ (spoint, sline),
123123
OPERATOR 39 <@ (spoint, spath),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp