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>



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to