Document pg_loexport(), pg_loimport() added to PostgreSQL module.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@25495 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jouni Ahto 2000-06-04 21:11:29 +00:00
parent 49b0754244
commit ff06fb6334

View file

@ -716,6 +716,61 @@ echo $row[1] . " <- row\n";
</refsect1>
</refentry>
<refentry id="function.pg-loexport">
<refnamediv>
<refname>pg_loexport</refname>
<refpurpose>export a large object to file</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcdef>void <function>pg_loexport</function></funcdef>
<paramdef>int
<parameter>oid</parameter>
</paramdef>
<paramdef>int
<parameter>file</parameter>
</paramdef>
<paramdef>int
<parameter><optional>connection_id</optional></parameter>
</paramdef>
</funcsynopsis>
<para>
The <parameter>oid</parameter> argument specifies the object id
of the large object to export and the <parameter>filename</parameter>
argument specifies the pathname of the file. Returns FALSE if an error
occurred, TRUE otherwise. Remember that handling large objects in
PostgreSQL must happen inside a transaction.
</para>
</refsect1>
</refentry>
<refentry id="function.pg-loimport">
<refnamediv>
<refname>pg_loimport</refname>
<refpurpose>import a large object from file</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcdef>void <function>pg_loimport</function></funcdef>
<paramdef>int
<parameter>file</parameter>
</paramdef>
<paramdef>int
<parameter><optional>connection_id</optional></parameter>
</paramdef>
</funcsynopsis>
<para>
The <parameter>filename</parameter> argument specifies the pathname
of the file to be imported as a large object. Returns FALSE if an error
occurred, object id of the just created large object otherwise. Remember
that handling large objects in PostgreSQL must happen inside
a transaction.
</para>
</refsect1>
</refentry>
<refentry id="function.pg-loopen">
<refnamediv>
<refname>pg_loopen</refname>