note 46801 added to function.pg-last-oid
| From: | josh at postgresql dot org | Date: | Sun, 24 Oct 2004 03:04:20 +0000 |
| Subject: | note 46801 added to function.pg-last-oid | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-79008@lists.php.net to get a copy of this message | ||
Bens,
I beg your pardon. Your example is correct. It's the "Editor's Note" which
is incorrect. Sorry if I confused anyone.
BTW, pg_last_oid is generally just a bad idea and should be avoided. Use NEXTVAL() or CURRVAL()
instead.
--Josh Berkus
PostgreSQL Project
----
Manual Page -- http://www.php.net/manual/en/function.pg-last-oid.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46801
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46801&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+46801&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+46801&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+46801&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+46801&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+46801&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46801&report=yes
Search -- http://master.php.net/manage/user-notes.php