<refsection>
<title>Casting Behavor</title>
<para>This section lists the automatic as well as explicit casts allowed for this data type</para>
- <informaltable>
+ <informaltable rowsep="1" frame="all">
<tgroup cols="2">
<tbody>
<row>
<refentry id="geometry">
<refnamediv>
- <refname>GEOMETRY</refname>
+ <refname>geometry</refname>
<refpurpose>Planar spatial data type.</refpurpose>
</refnamediv>
<refentry id="geography">
<refnamediv>
- <refname>GEOGRAPHY</refname>
+ <refname>geography</refname>
<refpurpose>Ellipsoidal spatial data type.</refpurpose>
</refnamediv>
<xsl:with-param name="replacement" select="''"/>\r
</xsl:call-template>\r
</xsl:variable>\r
+ <xsl:choose>\r
+<!-- If this is a postgis type grab the ref entry summary and refname to make type comment -->\r
+<xsl:when test="parent::sect1[@id='PostGIS_Types']">\r
+ COMMENT ON TYPE <xsl:value-of select="refnamediv/refname" /> IS 'postgis type: <xsl:value-of select='$comment' />';\r
+</xsl:when>\r
+ </xsl:choose>\r
<!-- For each function prototype generate the DDL comment statement\r
If its input is a geometry set - we know it is an aggregate function rather than a regular function -->\r
<xsl:for-each select="refsynopsisdiv/funcsynopsis/funcprototype">\r