Skip to content

Commit d94dceb

Browse files
committed
Fix issues found after the review
1 parent 127a96c commit d94dceb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: doc/indices.sgm

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
</listitem>
7070
</itemizedlist>
7171
<para>
72-
GiST index can be also used for quickly finding the points closest to the given one
72+
A GiST index can be also used for quickly finding the points closest to the given one
7373
when ordering by an expression with the <literal>&lt;-&gt;</literal> operator,
7474
as shown in an example below.
7575
</para>
@@ -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 find the points 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 ]]>

Diff for: upgrade_scripts/pg_sphere--1.4.2--1.5.0.sql.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-- Upgrade: 1.4.2 -> 1.5.0
22

3-
CREATE FUNCTION g_spoint_distance(internal, spoint, smallint, oid, internal)
3+
CREATE OR REPLACE FUNCTION g_spoint_distance(internal, spoint, smallint, oid, internal)
44
RETURNS internal
55
AS 'MODULE_PATHNAME', 'g_spoint_distance'
66
LANGUAGE 'c';

0 commit comments

Comments
 (0)