cvs: phpdoc-pl /reference/pgsql/functions pg-end-copy.xml

From: Date: Sat, 17 May 2008 08:58:17 +0000
Subject: cvs: phpdoc-pl /reference/pgsql/functions pg-end-copy.xml
Groups: php.doc.pl 
Request: Send a blank email to doc-pl+get-1380@lists.php.net to get a copy of this message
adi Sat May 17 08:58:17 2008 UTC Modified files: /phpdoc-pl/reference/pgsql/functions pg-end-copy.xml Log: Update http://cvs.php.net/viewvc.cgi/phpdoc-pl/reference/pgsql/functions/pg-end-copy.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-pl/reference/pgsql/functions/pg-end-copy.xml diff -u phpdoc-pl/reference/pgsql/functions/pg-end-copy.xml:1.4 phpdoc-pl/reference/pgsql/functions/pg-end-copy.xml:1.5 --- phpdoc-pl/reference/pgsql/functions/pg-end-copy.xml:1.4 Sat Jun 23 13:29:34 2007 +++ phpdoc-pl/reference/pgsql/functions/pg-end-copy.xml Sat May 17 08:58:17 2008 @@ -1,49 +1,105 @@ -<?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.2 Maintainer: jarek Status: ready --> -<!-- $Revision: 1.4 $--> -<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 --> - <refentry xml:id="function.pg-end-copy" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>pg_end_copy</refname> - <refpurpose>Synchronizuje klienta z serwerem PostgreSQL.</refpurpose> - </refnamediv> - <refsect1> - <title>Opis</title> - <methodsynopsis> - <type>bool</type><methodname>pg_end_copy</methodname> - <methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam> - </methodsynopsis> - <para> - <function>pg_end_copy</function> synchronizuje klienta z serwerem - PostgreSQL po wykonaniu operacji kopiowania przez <function>pg_put_line</function>. - Ta funkcja musi byæ wywo³ana, inaczej klient mo¿e byæ niezsychronizowany z serwerem - i mo¿e wyst±piæ b³±d. - Zwraca &true; je¶li operacja siê uda³a lub &false; w przeciwnym wypadku. - &return.success; - </para> - <para> - Zobacz tak¿e <function>pg_put_line</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 ---> +<?xml version="1.0" encoding="iso-8859-2"?> +<!-- EN-Revision: 1.6 Maintainer: garbus Status: ready --> +<!-- $Revision: 1.5 $--> +<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 --> +<!-- CREDITS: jarek --> +<refentry xml:id="function.pg-end-copy" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>pg_end_copy</refname> + <refpurpose>Synchronizuje klienta z serwerem PostgreSQL.</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>pg_end_copy</methodname> + <methodparam choice="opt"><type>resource</type><parameter>polaczenie</parameter></methodparam> + </methodsynopsis> + <para> + <function>pg_end_copy</function> synchronizuje + klienta PostgreSQL z serwerem po wykonaniu + operacji kopiowania przez funkcjê + <function>pg_put_line</function>. Funkcja <function>pg_end_copy</function> + musi byæ wywo³ana, inaczej serwer PostgreSQL-a mo¿e byæ niezsychronizowany + z klientem i mo¿e wyst±piæ b³±d. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>polaczenie</parameter></term> + <listitem> + <para> + Identyfikator po³±czenia do bazy danych PostgreSQL. Gdy + <parameter>polaczenie</parameter> nie zosta³o podane, domy¶lne po³±czenie + jest u¿yte. Domy¶lnym po³±czeniem jest ostatnie po³±czenie stworzone przez + <function>pg_connect</function> lub <function>pg_pconnect</function>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>pg_end_copy</function> - przyk³ad</title> + <programlisting role="php"> +<![CDATA[ +<?php + $polaczenie = pg_pconnect("dbname=foo"); + pg_query($polaczenie, "create table bar (a int4, b char(16), d float8)"); + pg_query($polaczenie, "copy bar from stdin"); + pg_put_line($polaczenie, "3\twitaj ¶wiecie\t4.5\n"); + pg_put_line($polaczenie, "4\t¿egnaj ¶wiecie\t7.11\n"); + pg_put_line($polaczenie, "\\.\n"); + pg_end_copy($polaczenie); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>pg_put_line</function></member> + </simplelist> + </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 +-->

« previous php.doc.pl (#1380) next »