]> granicus.if.org Git - postgresql/commitdiff
Improve release notes' description of Teodor's fixes for polygon overlaps
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 1 Sep 2010 15:14:42 +0000 (15:14 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 1 Sep 2010 15:14:42 +0000 (15:14 +0000)
and contains operators.

doc/src/sgml/release-9.0.sgml

index 31102a21b9e51d7836ba9a58097735450be826bf..7bfdf1419b09a33f20dc6bfacaf5d303df4ee2cd 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/release-9.0.sgml,v 2.54 2010/08/25 19:41:38 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/release-9.0.sgml,v 2.55 2010/09/01 15:14:42 tgl Exp $ -->
 
  <sect1 id="release-9-0">
   <title>Release 9.0</title>
     <listitem>
      <para>
       Correct calculations of <link
-      linkend="functions-geometry-op-table"><quote>overlap</quote></link>
-      and <quote>contains</quote> operations over polygons (Teodor Sigaev)
+      linkend="functions-geometry-op-table"><quote>overlaps</quote></link>
+      and <quote>contains</quote> operations for polygons (Teodor Sigaev)
+     </para>
+
+     <para>
+      The polygon <literal>&amp;&amp;</> (overlaps) operator formerly just
+      checked to see if the two polygons' bounding boxes overlapped.  It now
+      does a more correct check.  The polygon <literal>@&gt;</> and
+      <literal>&lt;@</> (contains/contained by) operators formerly checked
+      to see if one polygon's vertexes were all contained in the other;
+      this can wrongly report <quote>true</> for some non-convex polygons.
+      Now they check that all line segments of one polygon are contained in
+      the other.
      </para>
     </listitem>