summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-09-01 15:14:42 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-09-01 15:14:42 +0000
commit4ff6856cb1016c480aca125f30bd579df7535e15 (patch)
tree7b00c787605e3c7cc592fe97a5a73943382d5755 /doc
parente4b96380c34e21046aaca8961fe697c3131c3e65 (diff)
downloadpostgresql-4ff6856cb1016c480aca125f30bd579df7535e15.tar.gz
Improve release notes' description of Teodor's fixes for polygon overlaps
and contains operators.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/sgml/release-9.0.sgml17
1 files changed, 14 insertions, 3 deletions
diff --git a/doc/src/sgml/release-9.0.sgml b/doc/src/sgml/release-9.0.sgml
index 31102a21b9..7bfdf1419b 100644
--- a/doc/src/sgml/release-9.0.sgml
+++ b/doc/src/sgml/release-9.0.sgml
@@ -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>
@@ -1698,8 +1698,19 @@
<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>