edink Mon Feb 14 19:34:17 2005 EDT
Added files:
/phpdoc/en/reference/pgsql/functions pg-field-type-oid.xml
Modified files:
/phpdoc/en/reference/pgsql/functions pg-field-type.xml
Log:
Document pg_field_type_oid()
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-field-type.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-field-type.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-field-type.xml:1.6
phpdoc/en/reference/pgsql/functions/pg-field-type.xml:1.7
--- phpdoc/en/reference/pgsql/functions/pg-field-type.xml:1.6 Wed Jul 16
05:20:01 2003
+++ phpdoc/en/reference/pgsql/functions/pg-field-type.xml Mon Feb 14
19:34:17 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.52 -->
<refentry id="function.pg-field-type">
<refnamediv>
@@ -30,8 +30,9 @@
</para>
</note>
<para>
- See also <function>pg_field_prtlen</function> and
- <function>pg_field_name</function>.
+ See also <function>pg_field_prtlen</function>,
+ <function>pg_field_name</function> and
+ <function>pg_field_type_oid</function>.
</para>
</refsect1>
</refentry>
http://cvs.php.net/co.php/phpdoc/en/reference/pgsql/functions/pg-field-type-oid.xml?r=1.1&p=1
Index: phpdoc/en/reference/pgsql/functions/pg-field-type-oid.xml
+++ phpdoc/en/reference/pgsql/functions/pg-field-type-oid.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.pg-field-type-oid">
<refnamediv>
<refname>pg_field_type_oid</refname>
<refpurpose>
Returns the type ID (OID) for the corresponding field number
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>pg_field_type_oid</methodname>
<methodparam><type>resource</type><parameter>result</parameter></methodparam>
<methodparam><type>int</type><parameter>field_number</parameter></methodparam>
</methodsynopsis>
<para>
<function>pg_field_type_oid</function> returns an integer containing the
type ID the given <parameter>field_number</parameter> in the
given PostgreSQL <parameter>result</parameter> resource. Field
numbering starts at 0.
</para>
<para>
You can get more information about the field type by querying PostgreSQL
pg_type system table using the ID obtained with this function.
</para>
<para>
See also <function>pg_field_type</function>,
<function>pg_field_prtlen</function> and
<function>pg_field_name</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->