From fb837163be7a8816376abd75f82edb10946094fd Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Thu, 25 Apr 2002 02:55:04 +0000 Subject: [PATCH] Added comment for PostgreSQL 7.2 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@79881 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pgsql/functions/pg-last-oid.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/reference/pgsql/functions/pg-last-oid.xml b/reference/pgsql/functions/pg-last-oid.xml index 0649ad95c1..4665c7e296 100644 --- a/reference/pgsql/functions/pg-last-oid.xml +++ b/reference/pgsql/functions/pg-last-oid.xml @@ -1,5 +1,5 @@ - + @@ -22,13 +22,20 @@ pg_query was not an INSERT or INSERT is failed. + + OID field became an optional field from PostgreSQL 7.2. When + OID field is not defined in a table, programmer must use + pg_result_status to check if record is + is inserted successfully or not. + This function used to be called pg_getlastoid(). - See also pg_query. + See also pg_query and + pg_result_status