vrana Wed Sep 22 05:02:13 2004 EDT
Modified files:
/phpdoc/en/reference/pgsql/functions pg-put-line.xml
Log:
Don't use together with pg_lo_* (bug #23786)
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-put-line.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-put-line.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-put-line.xml:1.4
phpdoc/en/reference/pgsql/functions/pg-put-line.xml:1.5
--- phpdoc/en/reference/pgsql/functions/pg-put-line.xml:1.4 Wed Aug 18 11:39:26
2004
+++ phpdoc/en/reference/pgsql/functions/pg-put-line.xml Wed Sep 22 05:02:12 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.20 -->
<refentry id="function.pg-put-line">
<refnamediv>
@@ -49,6 +49,15 @@
</programlisting>
</example>
</para>
+ <warning>
+ <para>
+ Use of the <function>pg_put_line</function> causes most large object
+ operations, including <function>pg_lo_read</function> and
+ <function>pg_lo_tell</function>, to subsequently fail. You can use
+ <function>pg_copy_from</function> and <function>pg_copy_to</function>
+ instead.
+ </para>
+ </warning>
<para>
See also <function>pg_end_copy</function>.
</para>