]> granicus.if.org Git - postgis/commitdiff
#2576 Error in manual wrt using_raster RT_PLPython
authorRegina Obe <lr@pcorp.us>
Fri, 14 Feb 2014 03:32:28 +0000 (03:32 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 14 Feb 2014 03:32:28 +0000 (03:32 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12233 b70326c6-7e19-0410-871a-916f4a2858ee

doc/using_raster_dataman.xml

index def8ad75a8dd2950b9c263ebf696be9a0b487f94..f23b5d83b4801f08d7a89c5ec8a6753bf283e975 100644 (file)
@@ -731,9 +731,9 @@ public class SaveQueryImage {
                
                <sect2 id="RT_PLPython">
                        <title>Use PLPython to dump out images via SQL</title>
-                       <para>This is a plpython stored function that creates a file in the server directory for each record.</para>
-                       <programlisting>//plpython postgresql stored proc.  Requires you have plpython installed
-<![CDATA[CREATE OR REPLACE FUNCTION write_file (param_bytes bytea, param_filepath text)
+                       <para>This is a plpython stored function that creates a file in the server directory for each record.  
+                       Requires you have plpython installed.  Should work fine with both plpythonu and plpython3u.</para>
+                       <programlisting><![CDATA[CREATE OR REPLACE FUNCTION write_file (param_bytes bytea, param_filepath text)
 RETURNS text
 AS $$
 f = open(param_filepath, 'wb+')