cvs: phpdoc /en/reference/pgsql/functions pg-copy-from.xml pg-copy-to.xml
| From: | Yasuo Ohgaki | Date: | Mon, 30 Sep 2002 04:24:16 +0000 |
| Subject: | cvs: phpdoc /en/reference/pgsql/functions pg-copy-from.xml pg-copy-to.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969348907@lists.php.net to get a copy of this message | ||
yohgaki Mon Sep 30 00:24:16 2002 EDT
Modified files:
/phpdoc/en/reference/pgsql/functions pg-copy-from.xml
pg-copy-to.xml
Log:
Fixed proto. Add more description.
Index: phpdoc/en/reference/pgsql/functions/pg-copy-from.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-copy-from.xml:1.3
phpdoc/en/reference/pgsql/functions/pg-copy-from.xml:1.4
--- phpdoc/en/reference/pgsql/functions/pg-copy-from.xml:1.3 Wed Apr 24 20:50:04 2002
+++ phpdoc/en/reference/pgsql/functions/pg-copy-from.xml Mon Sep 30 00:24:16 2002
@@ -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>
Index: phpdoc/en/reference/pgsql/functions/pg-copy-to.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-copy-to.xml:1.2
phpdoc/en/reference/pgsql/functions/pg-copy-to.xml:1.3
--- phpdoc/en/reference/pgsql/functions/pg-copy-to.xml:1.2 Wed Apr 17 02:43:18 2002
+++ phpdoc/en/reference/pgsql/functions/pg-copy-to.xml Mon Sep 30 00:24:16 2002
@@ -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>