]> granicus.if.org Git - postgis/commitdiff
slight amendment to description of casts
authorRegina Obe <lr@pcorp.us>
Sat, 28 Nov 2009 06:50:32 +0000 (06:50 +0000)
committerRegina Obe <lr@pcorp.us>
Sat, 28 Nov 2009 06:50:32 +0000 (06:50 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4925 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_type.xml

index 5c19dded8354670c403a5e96674800f75ce2d365..57be6f17172f4e9364283c858de0bc60c8809bc0 100644 (file)
@@ -12,6 +12,8 @@
     <para>The danger of relying on automatic cast behavior is when you have an overloaded function say one that takes a box2d and one that takes a box3d
        but no geometry.  What happens is that both functions are equally good to use with geometry since geometry has an autocast for both 
        -- so you end up with an ambiguous function error. To force PostgreSQL to choose, you do a CAST(mygeom As box3d)  or mygeom::box3d.</para>
+       
+    <para><note>At least asof PostgreSQL 8.3 - Everything can be CAST to text (presumably because of the magical unknown type), so no defined CASTS for that need to be present for you to CAST an object to text.</note></para>
     
        <refentry id="box2d">
       <refnamediv>