didou           Tue Jun  7 04:28:15 2005 EDT

  Modified files:              
    /phpdoc/en/reference/pgsql/functions        pg-convert.xml 
  Log:
  use &true; where appropriated and WS
  # please don't exceed 78 for lines length
  
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-convert.xml?r1=1.12&r2=1.13&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-convert.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-convert.xml:1.12 
phpdoc/en/reference/pgsql/functions/pg-convert.xml:1.13
--- phpdoc/en/reference/pgsql/functions/pg-convert.xml:1.12     Mon Jun  6 
08:28:05 2005
+++ phpdoc/en/reference/pgsql/functions/pg-convert.xml  Tue Jun  7 04:28:14 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
 <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.80 -->
 <refentry id='function.pg-convert'>
  <refnamediv>
@@ -21,19 +21,20 @@
   <para>
    <function>pg_convert</function> checks and converts the values in
    <parameter>assoc_array</parameter> into suitable values for use in a SQL
-   statement. Precondition for <function>pg_convert</function> is the existence
-   of a table <parameter>table_name</parameter> which has at least as many 
columns
-   as <parameter>assoc_array</parameter> has elements. The fieldnames in
-   <parameter>table_name</parameter> must match the indices in 
<parameter>assoc_array</parameter>
-   and the corresponding datatypes must be compatible. Returns an array with
-   the converted values on success, &false; otherwise.
+   statement. Precondition for <function>pg_convert</function> is the 
+   existence of a table <parameter>table_name</parameter> which has at least
+   as many columns as <parameter>assoc_array</parameter> has elements. The
+   fieldnames in <parameter>table_name</parameter> must match the indices in
+   <parameter>assoc_array</parameter> and the corresponding datatypes must be
+   compatible. Returns an array with the converted values on success, &false;
+   otherwise.
   </para>
   <note>
    <para>
-    If there are boolean fields in <parameter>table_name</parameter> don't use 
the
-       constant TRUE in <parameter>assoc_array</parameter>. It will be 
converted to the
-       string 'TRUE' which is no valid entry for boolean fields in PostgreSQL. 
Use one 
-       of t, true, 1, y, yes instead.
+    If there are boolean fields in <parameter>table_name</parameter> don't 
+    use the    constant &true; in <parameter>assoc_array</parameter>. It will 
be
+    converted to the string 'TRUE' which is no valid entry for boolean fields
+    in PostgreSQL. Use one of t, true, 1, y, yes instead.
    </para>
   </note>
   &warn.experimental.func;

Reply via email to