mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-30 04:42:24 +02:00
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@162926 c90b9560-bf6c-de11-be94-00142212c4b1
70 lines
2.3 KiB
XML
70 lines
2.3 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.7 $ -->
|
|
<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready -->
|
|
<refentry id="function.pg-lo-open">
|
|
<refnamediv>
|
|
<refname>pg_lo_open</refname>
|
|
<refpurpose>Ouvre un objet de grande taille PostgreSQL</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>resource</type><methodname>pg_lo_open</methodname>
|
|
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>oid</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>pg_lo_open</function> ouvre un objet de type
|
|
<literal>Inversion Large Object</literal>
|
|
et retourne un descripteur de fichier pour cet objet. Le descripteur de fichier
|
|
contient les informations de connexion. Ne refermez pas la connexion avant
|
|
d'avoir fermé l'objet. <parameter>objoid</parameter> est un OID valide de
|
|
Large Object, et <parameter>mode</parameter> peut prendre es valeurs suivantes
|
|
: "<literal>r</literal>", "<literal>w</literal>", ou "<literal>rw</literal>".
|
|
La fonction retourne &false; en cas d'erreur.
|
|
</para>
|
|
<warning>
|
|
<para>
|
|
Ne fermer pas la connexion à la base de données avant de fermer la ressource de l'objet
|
|
de grande taille.
|
|
</para>
|
|
</warning>
|
|
<para>
|
|
Pour utiliser un objet de grande taille (<literal>lo</literal>), il est
|
|
nécessaire de le faire dans une transaction.
|
|
</para>
|
|
<note>
|
|
<para>
|
|
Auparavant, cette fonction s'appelait <literal>pg_loopen()</literal>.
|
|
</para>
|
|
</note>
|
|
<para>
|
|
Voir aussi
|
|
<function>pg_lo_close</function> et
|
|
<function>pg_lo_create</function>.
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|