Fixed proto. Add more description.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@97456 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Yasuo Ohgaki 2002-09-30 04:24:16 +00:00
parent 03014c93dd
commit a65437654f
2 changed files with 11 additions and 9 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 -->
<refentry id='function.pg-copy-from'>
<refnamediv>
@ -11,8 +11,8 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>pg_copy_from</methodname>
<methodparam><type>int</type><parameter>connection</parameter></methodparam>
<type>bool</type><methodname>pg_copy_from</methodname>
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
<methodparam><type>string</type><parameter>table_name</parameter></methodparam>
<methodparam><type>array</type><parameter>rows</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>delimiter</parameter></methodparam>
@ -20,7 +20,7 @@
</methodsynopsis>
<para>
<function>pg_copy_from</function> insert records into a table from
<parameter>rows</parameter>. It issues <literal>COPY</literal> command
<parameter>rows</parameter>. It issues <literal>COPY FROM</literal> SQL command
internally to insert records.
&return.success;
</para>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.2 -->
<refentry id='function.pg-copy-to'>
<refnamediv>
@ -11,15 +11,17 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>pg_copy_to</methodname>
<methodparam><type>int</type><parameter>connection</parameter></methodparam>
<type>array</type><methodname>pg_copy_to</methodname>
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
<methodparam><type>string</type><parameter>table_name</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>delimiter</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>null_as</parameter></methodparam>
</methodsynopsis>
<para>
<function>pg_copy_to</function> copies a table to an array. The
resulting array is returned. It returns &false; on failure.
<function>pg_copy_to</function> copies a table to an array. It
issues <literal>COPY TO</literal> SQL command internally to
insert records. The resulting array is returned. It returns
&false; on failure.
</para>
<para>
See also <function>pg_copy_from</function>