<para><xref linkend="ST_EndPoint" />, <xref linkend="ST_PointN" /></para>
</refsection>
</refentry>
+
+ <varlistentry>
+ <term>ST_Summary(geometry)</term>
+
+ <listitem>
+ <para>Returns a text summary of the contents of the
+ geometry.</para>
+ </listitem>
+ </varlistentry>
+ <refentry id="ST_Summary">
+ <refnamediv>
+ <refname>ST_Summary</refname>
+
+ <refpurpose>Returns a text summary of the contents of the
+ <varname>ST_Geometry</varname>.
+ </refpurpose>
+ </refnamediv>
+
+ <refsynopsisdiv>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>text <function>ST_Summary</function></funcdef>
+
+ <paramdef><type>geometry </type> <parameter>g</parameter></paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ </refsynopsisdiv>
+
+ <refsection>
+ <title>Description</title>
+
+ <para>Returns a text summary of the contents of the geometry.</para>
+
+ </refsection>
+
+ <refsection>
+ <title>Examples</title>
+
+ <programlisting>SELECT ST_IsValid(ST_GeomFromText('LINESTRING(0 0, 1 1)')) As good_line,
+ ST_IsValid(ST_GeomFromText('POLYGON((0 0, 1 1, 1 2, 1 1, 0 0))')) As bad_poly
+--results
+ good_line | bad_poly
+----------------------+-------------------------
+ |
+Line[B] with 2 points : Polygon[B] with 1 rings
+ : ring 0 has 5 points
+ :
+</programlisting>
+ </refsection>
+
+ <refsection>
+ <title>See Also</title>
+
+ <para><xref linkend="ST_IsValid" /></para>
+ </refsection>
+ </refentry>
</sect1>