phaser          Wed May 15 10:59:26 2002 EDT

  Added files:                 
    /phpdoc-pt_BR/reference/pgsql/functions     pg-lo-import.xml 
                                                pg-lo-open.xml 
                                                pg-lo-read-all.xml 
                                                pg-lo-read.xml 
                                                pg-lo-seek.xml 
                                                pg-lo-tell.xml 
                                                pg-lo-unlink.xml 
                                                pg-lo-write.xml 
  Log:
  1st pr_BR version
  

Index: phpdoc-pt_BR/reference/pgsql/functions/pg-lo-import.xml
+++ phpdoc-pt_BR/reference/pgsql/functions/pg-lo-import.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.2 Maintainer: phaser Status: ready -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.6 -->
  <refentry id="function.pg-lo-import">
   <refnamediv>
    <refname>pg_lo_import</refname>
    <refpurpose>Importa um objeto grande de um arquivo</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Descrição</title>
     <methodsynopsis>
      <type>int</type><methodname>pg_lo_import</methodname>
      <methodparam><type>string</type><parameter>caminho</parameter></methodparam>
      <methodparam 
choice="opt"><type>recurso</type><parameter>conexão</parameter></methodparam>
     </methodsynopsis>
    <para>
     O argumento <parameter>caminho</parameter> especifica o caminho do
     arquivo a ser importado como um objeto grande. Ele retorna &false; se um
     erro ocorrer, caso contrário ele retorna o oid do objeto recém criado.
    </para>
    <para>
    Para usar a interface de objetos grandes (lo) é necessário encapsula-lo
    dentro de um bloco de transação.
    </para>
    &note.sm.uidcheck;
    <note>
     <para>
      Esta função era chamada <literal>pg_loimport()</literal>.
     </para>
    </note>
    <para>
     Veja também <function>pg_lo_export</function> e 
     <function>pg_lo_open</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
-->

Index: phpdoc-pt_BR/reference/pgsql/functions/pg-lo-open.xml
+++ phpdoc-pt_BR/reference/pgsql/functions/pg-lo-open.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.2 Maintainer: phaser Status: ready -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
  <refentry id="function.pg-lo-open">
   <refnamediv>
    <refname>pg_lo_open</refname>
    <refpurpose>Abre um objeto grande</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Descrição</title>
     <methodsynopsis>
      <type>recurso</type><methodname>pg_lo_open</methodname>
      <methodparam><type>recurso</type><parameter>conexão</parameter></methodparam>
      <methodparam><type>int</type><parameter>oid</parameter></methodparam>
      <methodparam><type>string</type><parameter>modo</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>pg_lo_open</function> abre um Objeto Grande (Large Objeto em
     inglês, daí o lo). O recurso encapsula informações sobre a conexão.
     <parameter>oid</parameter> espeficifa um iod de objeto grande válido e o
     <parameter>modo</parameter> pode ser "r", "w" ou "rw". A função retorna
     &false; se houver algum erro.
    </para>
    <warning>
     <para>
      Não feche a conexãom com o banco de dados sem antes fechar a conexão com
      o objeto grande.
     </para>
    </warning>
    <para>
     Para usar a interface de objetos grandes (lo) é necessário encapsula-lo
     dentro de um bloco de transação.
    </para>
    <note>
     <para>
      Esta função era chamada <literal>pg_loopen()</literal>.
     </para>
    </note>
    <para>
     Veja também <function>pg_lo_close</function> e
     <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
-->

Index: phpdoc-pt_BR/reference/pgsql/functions/pg-lo-read-all.xml
+++ phpdoc-pt_BR/reference/pgsql/functions/pg-lo-read-all.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.2 Maintainer: phaser Status: ready -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
  <refentry id="function.pg-lo-read-all">
   <refnamediv>
    <refname>pg_lo_read_all</refname>
    <refpurpose>
     Lê um objeto grande inteiro e o envia diretamente para o navegador
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Descrição</title>
     <methodsynopsis>
      <type>int</type><methodname>pg_lo_read_all</methodname>
      
<methodparam><type>recurso</type><parameter>objeto_grande</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>pg_lo_read_all</function> lê um objeto grande e passa-o
     diretamente para o navegador depois de enviar todos os cabeçalhos
     pendentes. A intenção principal é enviar dados binários como imagens ou
     som. Ela retorna o número de bytes lidos. Retorna &false; se ocorrer
     algum erro.
    </para>
    <para>
     Para usar a interface de objetos grandes (lo) é necessário encapsula-lo
     dentro de um bloco de transação.
    </para>
    <note>
     <para>
      Esta função era chamada <literal>pg_loreadall()</literal>.
     </para>
    </note>
    <para>
     Veja também <function>pg_lo_read</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
-->

Index: phpdoc-pt_BR/reference/pgsql/functions/pg-lo-read.xml
+++ phpdoc-pt_BR/reference/pgsql/functions/pg-lo-read.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.74 -->
  <refentry id="function.pg-lo-read">
   <refnamediv>
    <refname>pg_lo_read</refname>
    <refpurpose>Lê um objeto grande</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Descrição</title>
     <methodsynopsis>
      <type>string</type><methodname>pg_lo_read</methodname>
      
<methodparam><type>recurso</type><parameter>objeto_grande</parameter></methodparam>
      <methodparam><type>int</type><parameter>tamanho</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>pg_lo_read</function> lê até o 
     <parameter>tamanho</parameter> de bytes de um objeto grande e retorna-o
     como uma string. <parameter>objeto_grande</parameter> especifica um
     recurso válido de objeto e <parameter>tamanho</parameter> especifica o
     tamanho máximo permitido do segmento do objeto grande. Ela retorna
     &false; se algum erro acontecer.
    </para>
    <para>
     Para usar a interface de objetos grandes (lo) é necessário encapsula-lo
     dentro de um bloco de transação.
    </para>
    <note>
     <para>
      Esta função era chamada <literal>pg_loread()</literal>.
     </para>
    </note>
    <para>
     Veja também <function>pg_lo_read_all</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
-->

Index: phpdoc-pt_BR/reference/pgsql/functions/pg-lo-seek.xml
+++ phpdoc-pt_BR/reference/pgsql/functions/pg-lo-seek.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.2 Maintainer: phaser Status: ready -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
  <refentry id='function.pg-lo-seek'>
   <refnamediv>
    <refname>pg_lo_seek</refname>
    <refpurpose>
     Procura a posição de um objeto grande
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Descrição</title>
     <methodsynopsis>
      <type>bool</type><methodname>pg_lo_seek</methodname>
      
<methodparam><type>recurso</type><parameter>objeto_grande</parameter></methodparam>
      <methodparam><type>int</type><parameter>deslocamento</parameter></methodparam>
      <methodparam 
choice="opt"><type>int</type><parameter>quando</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>pg_lo_seek</function> procura a posição de um recurso de um
     objeto grande. <parameter>quando</parameter> pode ser PGSQL_SEEK_SET,
     PGSQL_SSEK_CUR ou PGSQL_SEEK_END.
    </para>
    <para>
     Veja também <function>pg_lo_tell</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
-->

Index: phpdoc-pt_BR/reference/pgsql/functions/pg-lo-tell.xml
+++ phpdoc-pt_BR/reference/pgsql/functions/pg-lo-tell.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.2 Maintainer: phaser Status: ready -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.74 -->
  <refentry id='function.pg-lo-tell'>
   <refnamediv>
    <refname>pg_lo_tell</refname>
    <refpurpose>
     Retorna a posição atual de um objeto grande
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Descrição</title>
     <methodsynopsis>
      <type>int</type><methodname>pg_lo_tell</methodname>
      
<methodparam><type>recurso</type><parameter>objeto_grande</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>pg_lo_tell</function> retorna a posição atual (deslocamento a
     partir do início do objeto grande).
    </para>
    <para>
     Veja também <function>pg_lo_seek</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
-->

Index: phpdoc-pt_BR/reference/pgsql/functions/pg-lo-unlink.xml
+++ phpdoc-pt_BR/reference/pgsql/functions/pg-lo-unlink.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.2 Maintainer: phaser Status: ready -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
  <refentry id="function.pg-lo-unlink">
   <refnamediv>
    <refname>pg_lo_unlink</refname>
    <refpurpose>Deleta um objeto grande</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Descrição</title>
     <methodsynopsis>
      <type>bool</type><methodname>pg_lo_unlink</methodname>
      <methodparam><type>recurso</type><parameter>conexão</parameter></methodparam>
      <methodparam><type>int</type><parameter>oid</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>pg_lo_unlink</function> deleta um objeto grande com a
     <parameter>oid</parameter> determinada. Ele retorna &true; caso haja
     sucesso, caso contrário retorna &false;.
    </para>
    <para>
     Para usar a interface de objetos grandes (lo) é necessário encapsula-lo
     dentro de um bloco de transação.
    </para>
    <note>
     <para>
      Esta função era chamada <literal>pg_lo_unlink()</literal>.
     </para>
    </note>
    <para>
     Veja também <function>pg_lo_create</function> e
     <function>pg_lo_import</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
-->

Index: phpdoc-pt_BR/reference/pgsql/functions/pg-lo-write.xml
+++ phpdoc-pt_BR/reference/pgsql/functions/pg-lo-write.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.2 Maintainer: phaser Status: ready -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
  <refentry id="function.pg-lo-write">
   <refnamediv>
    <refname>pg_lo_write</refname>
    <refpurpose>Escreve um objeto grande</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Descrição</title>
     <methodsynopsis>
      <type>int</type><methodname>pg_lo_write</methodname>
      
<methodparam><type>recurso</type><parameter>objeto_grande</parameter></methodparam>
      <methodparam><type>string</type><parameter>dados</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>pg_lo_write</function> escreve em um objeto grande a partir de
     uma variável <parameter>dados</parameter> e retorna o número de bytes
     escritos, ou &false; em caso de erro.
     <parameter>objeto_grande</parameter> é um recurso de objeto grande que
     vem a partir de <function>pg_lo_open</function>.
    </para>
    <para>
     Para usar a interface de objetos grandes (lo) é necessário encapsula-lo
     dentro de um bloco de transação.
    </para>
    <note>
     <para>
      Esta função era chamada <literal>pg_lo_write()</literal>.
     </para>
    </note>
    <para>
     Veja também <function>pg_lo_create</function> e 
     <function>pg_lo_open</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
-->

Reply via email to