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>
¬e.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
-->