yohgaki Wed Apr 24 22:55:04 2002 EDT
Modified files:
/phpdoc/en/reference/pgsql/functions pg-last-oid.xml
Log:
Added comment for PostgreSQL 7.2
Index: phpdoc/en/reference/pgsql/functions/pg-last-oid.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-last-oid.xml:1.2
phpdoc/en/reference/pgsql/functions/pg-last-oid.xml:1.3
--- phpdoc/en/reference/pgsql/functions/pg-last-oid.xml:1.2 Wed Apr 17 02:43:20
2002
+++ phpdoc/en/reference/pgsql/functions/pg-last-oid.xml Wed Apr 24 22:55:04 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.82 -->
<refentry id="function.pg-last-oid">
<refnamediv>
@@ -22,13 +22,20 @@
<function>pg_query</function> was not an INSERT or INSERT is
failed.
</para>
+ <para>
+ OID field became an optional field from PostgreSQL 7.2. When
+ OID field is not defined in a table, programmer must use
+ <function>pg_result_status</function> to check if record is
+ is inserted successfully or not.
+ </para>
<note>
<para>
This function used to be called <literal>pg_getlastoid()</literal>.
</para>
</note>
<para>
- See also <function>pg_query</function>.
+ See also <function>pg_query</function> and
+ <function>pg_result_status</function>
</para>
</refsect1>
</refentry>