Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4ff6856

Browse files
committed
Improve release notes' description of Teodor's fixes for polygon overlaps
and contains operators.
1 parent e4b9638 commit 4ff6856

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

doc/src/sgml/release-9.0.sgml

+14-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/release-9.0.sgml,v 2.54 2010/08/25 19:41:38 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/release-9.0.sgml,v 2.55 2010/09/01 15:14:42 tgl Exp $ -->
22

33
<sect1 id="release-9-0">
44
<title>Release 9.0</title>
@@ -1698,8 +1698,19 @@
16981698
<listitem>
16991699
<para>
17001700
Correct calculations of <link
1701-
linkend="functions-geometry-op-table"><quote>overlap</quote></link>
1702-
and <quote>contains</quote> operations over polygons (Teodor Sigaev)
1701+
linkend="functions-geometry-op-table"><quote>overlaps</quote></link>
1702+
and <quote>contains</quote> operations for polygons (Teodor Sigaev)
1703+
</para>
1704+
1705+
<para>
1706+
The polygon <literal>&amp;&amp;</> (overlaps) operator formerly just
1707+
checked to see if the two polygons' bounding boxes overlapped. It now
1708+
does a more correct check. The polygon <literal>@&gt;</> and
1709+
<literal>&lt;@</> (contains/contained by) operators formerly checked
1710+
to see if one polygon's vertexes were all contained in the other;
1711+
this can wrongly report <quote>true</> for some non-convex polygons.
1712+
Now they check that all line segments of one polygon are contained in
1713+
the other.
17031714
</para>
17041715
</listitem>
17051716

0 commit comments

Comments
 (0)