<!--
-$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.205 2004/05/26 18:35:31 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.206 2004/06/02 21:34:49 momjian Exp $
PostgreSQL documentation
-->
as an array of two <type>point</> values.
</para>
+ <para>
+ The <function>area</function> function works for the types
+ <type>box</type>, <type>circle</type>, and <type>path</type>.
+ The <function>area</function> function only works on the
+ <type>path</type> data type if the points in the
+ <type>path</type> are non-intersecting. For example, the
+ <type>path</type>
+ <literal>'((0,0),(0,1),(2,1),(2,2),(1,2),(1,0),(0,0))'::PATH</literal>
+ won't work, however, the following visually identical
+ <type>path</type>
+ <literal>'((0,0),(0,1),(1,1),(1,2),(2,2),(2,1),(1,1),(1,0),(0,0))'::PATH</literal>
+ will work. If the concept of an intersecting versus
+ non-intersecting <type>path</type> is confusing, draw both of the
+ above <type>path</type>s side by side on a piece of graph paper.
+ </para>
+
</sect1>