cvs: phpdoc-zh /reference/pgsql/functions pg-fetch-result.xml
| From: | Dallas Thunder | Date: | Thu, 05 Sep 2002 16:33:39 +0000 |
| Subject: | cvs: phpdoc-zh /reference/pgsql/functions pg-fetch-result.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-465@lists.php.net to get a copy of this message | ||
dallas Thu Sep 5 12:33:39 2002 EDT
Modified files:
/phpdoc-zh/reference/pgsql/functions pg-fetch-result.xml
Log:
Comply with recent English version updates.
Index: phpdoc-zh/reference/pgsql/functions/pg-fetch-result.xml
diff -u phpdoc-zh/reference/pgsql/functions/pg-fetch-result.xml:1.1
phpdoc-zh/reference/pgsql/functions/pg-fetch-result.xml:1.2
--- phpdoc-zh/reference/pgsql/functions/pg-fetch-result.xml:1.1 Sat Aug 24 10:56:09 2002
+++ phpdoc-zh/reference/pgsql/functions/pg-fetch-result.xml Thu Sep 5 12:33:38 2002
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready -->
+<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready -->
<refentry id="function.pg-fetch-result">
<refnamediv>
<refname>pg_fetch_result</refname>
@@ -19,7 +19,12 @@
<function>pg_fetch_result</function> ¸ù¾ÝÓÉ
<function>pg_query</function> ·µ»ØµÄ <parameter>result</parameter>
×ÊÔ´·µ»ØÏàÓ¦µÄÖµ¡£<parameter>row</parameter>
ΪÕûÐÍÊý¡£<parameter>field</parameter>
Ϊ×Ö¶ÎÃû£¨×Ö·û´®£©»ò×Ö¶ÎË÷Òý£¨ÕûÊý£©¡£<parameter>row</parameter>
ºÍ <parameter>field</parameter>
Ö¸Ã÷Á˲éѯ½á¹ûÖеÄÄĸöµ¥Ôª±»·µ»Ø¡£ÐбàºÅ´Ó 0
¿ªÊ¼¡£³ýÁËÓÃ×Ö¶ÎÃûÖ®Í⣬»¹¿ÉÒÔÓò»´øÒýºÅµÄÊý×Ö×÷Ϊ×Ö¶ÎË÷Òý¡£×Ö¶ÎË÷Òý´Ó
0 ¿ªÊ¼¡£
</para>
<para>
- PostgreSQL
ÓкܶàÄÚÖõÄÀàÐÍ£¬ÕâÀïÖ»Ö±½ÓÖ§³Ö»ù±¾ÀàÐÍ¡£ËùÓÐÐÎʽµÄ
<type>integer</type>£¬<type>boolean</type> ºÍ void
ÀàÐͶ¼±»·µ»ØÎª <type>integer</type> Öµ¡£ËùÓÐÐÎʽµÄ float
ºÍ real ÀàÐͶ¼±»·µ»ØÎª <type>float</type>
Öµ¡£ËùÓÐÆäËüÀàÐͰüÀ¨Êý×é¶¼±»·µ»ØÎª×Ö·û´®£¬¸Ã×Ö·û´®µÄ¸ñʽºÍĬÈϵÄ
PostgreSQL ·ç¸ñÒ»Ñù£¬¿ÉÒÔÔÚ <command>psql</command>
³ÌÐòÖп´µ½¡£
+ PostgreSQL
ÓкܶàÄÚÖõÄÀàÐÍ£¬ÕâÀïÖ»Ö±½ÓÖ§³Ö»ù±¾ÀàÐÍ¡£ËùÓÐÐÎʽµÄ
+ <type>integer</type>£¬<type>boolean</type> ºÍ void
ÀàÐͶ¼±»·µ»ØÎª
+ <type>integer</type> Öµ¡£ËùÓÐÐÎʽµÄ float ºÍ real
ÀàÐͶ¼±»·µ»ØÎª
+ <type>float</type> Öµ¡£Boolean ÀàÐͱ»·µ»ØÎª "t"
»òÕß
+
"f"¡£ËùÓÐÆäËüÀàÐͰüÀ¨Êý×é¶¼±»·µ»ØÎª×Ö·û´®£¬¸Ã×Ö·û´®µÄ¸ñʽºÍĬÈϵÄ
+ PostgreSQL ·ç¸ñÒ»Ñù£¬¿ÉÒÔÔÚ <command>psql</command>
³ÌÐòÖп´µ½¡£
<!-- FIXME: is that still true? PHP supports boolean&null now... -->
<!-- Yes, supporting boolean&null breaks scripts. pg_fetch_array()
can be used instead. I might take of this issue with additional